#7A7C19

A color in the Yellow, Gold family

#7a7c19 is a color in the Yellow, Gold family: RGB(122, 124, 25), HSL(61°, 66%, 29%), CMYK(2%, 0%, 80%, 51%). Closest named color: olive. Contrast is 4.44:1 on white and 4.72:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7a7c19
RGBrgb(122 124 25)
RGB (legacy)rgb(122, 124, 25)
RGB %rgb(48% 49% 10%)
HSLhsl(61 66% 29%)
HSV / HSBhsv(61, 80%, 49%)
HWBhwb(61 10% 51%)
CMYKcmyk(2%, 0%, 80%, 51%)
CIELAB (D50)lab(50.5 -9.67 48.97)
LCHlch(50.5 49.92 101.17)
OKLaboklab(0.5666 -0.0409 0.1078)
OKLCHoklch(0.5666 0.1153 110.78)
Decimal8027161

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 1.8
Closest web-safe color#666600
Hue61°
Saturation (HSL / HSV)66% / 80%
Lightness (HSL)29%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)44% / 46%
Relative luminance (WCAG)0.1862
Red / Green / Blue122 / 124 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.44:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.72: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 70.7 / -30.9 · As background with white / black text: Lc -76.2 / 33.4

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: #7a7c19;
  --color-brand-oklch: oklch(56.66% 0.1153 110.78);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(122 124 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7a7c19] text-[#7a7c19] border-[#7a7c19]">