#7A9708

A color in the Yellow, Gold family

#7a9708 is a color in the Yellow, Gold family: RGB(122, 151, 8), HSL(72°, 90%, 31%), CMYK(19%, 0%, 95%, 41%). Closest named color: olivedrab. Contrast is 3.36:1 on white and 6.26:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7a9708
RGBrgb(122 151 8)
RGB (legacy)rgb(122, 151, 8)
RGB %rgb(48% 59% 3%)
HSLhsl(72 90% 31%)
HSV / HSBhsv(72, 95%, 59%)
HWBhwb(72 3% 41%)
CMYKcmyk(19%, 0%, 95%, 41%)
CIELAB (D50)lab(58.54 -23.16 59.1)
LCHlch(58.54 63.48 111.39)
OKLaboklab(0.6314 -0.0812 0.1282)
OKLCHoklch(0.6314 0.1517 122.35)
Decimal8034056

Properties

Color ToneYellow, Gold
Closest named colorolivedrab ΔE 3.6
Closest web-safe color#669900
Hue72°
Saturation (HSL / HSV)90% / 95%
Lightness (HSL)31%
Brightness or Value (HSV)59%
Luminance (Rec.601 / Rec.709)49% / 53%
Relative luminance (WCAG)0.2629
Red / Green / Blue122 / 151 / 8

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.36:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.26:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 60.8 / -40.9 · As background with white / black text: Lc -66.3 / 43.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #7a9708;
  --color-brand-oklch: oklch(63.14% 0.1517 122.35);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(122 151 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7a9708] text-[#7a9708] border-[#7a9708]">