#7B7C19

A color in the Yellow, Gold family

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

Color Codes

HEX#7b7c19
RGBrgb(123 124 25)
RGB (legacy)rgb(123, 124, 25)
RGB %rgb(48% 49% 10%)
HSLhsl(61 66% 29%)
HSV / HSBhsv(61, 80%, 49%)
HWBhwb(61 10% 51%)
CMYKcmyk(1%, 0%, 80%, 51%)
CIELAB (D50)lab(50.59 -9.21 49.09)
LCHlch(50.59 49.95 100.63)
OKLaboklab(0.5676 -0.0397 0.108)
OKLCHoklch(0.5676 0.1151 110.17)
Decimal8092697

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 1.7
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.187
Red / Green / Blue123 / 124 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.43:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.74: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.6 / -31 · As background with white / black text: Lc -76.1 / 33.5

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