#7A8708

A color in the Yellow, Gold family

#7a8708 is a color in the Yellow, Gold family: RGB(122, 135, 8), HSL(66°, 89%, 28%), CMYK(10%, 0%, 94%, 47%). Closest named color: olive. Contrast is 3.96:1 on white and 5.3:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7a8708
RGBrgb(122 135 8)
RGB (legacy)rgb(122, 135, 8)
RGB %rgb(48% 53% 3%)
HSLhsl(66 89% 28%)
HSV / HSBhsv(66, 94%, 53%)
HWBhwb(66 3% 47%)
CMYKcmyk(10%, 0%, 94%, 47%)
CIELAB (D50)lab(53.72 -15.55 55.49)
LCHlch(53.72 57.62 105.66)
OKLaboklab(0.5924 -0.0594 0.1197)
OKLCHoklch(0.5924 0.1337 116.39)
Decimal8029960

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 2
Closest web-safe color#669900
Hue66°
Saturation (HSL / HSV)89% / 94%
Lightness (HSL)28%
Brightness or Value (HSV)53%
Luminance (Rec.601 / Rec.709)46% / 48%
Relative luminance (WCAG)0.2148
Red / Green / Blue122 / 135 / 8

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.96:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.30: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 66.8 / -34.8 · As background with white / black text: Lc -72.3 / 37.2

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: #7a8708;
  --color-brand-oklch: oklch(59.24% 0.1337 116.39);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(122 135 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7a8708] text-[#7a8708] border-[#7a8708]">