#7F6C19

A color in the Yellow, Gold family

#7f6c19 is a color in the Yellow, Gold family: RGB(127, 108, 25), HSL(49°, 67%, 30%), CMYK(0%, 15%, 80%, 50%). Closest named color: olive. Contrast is 5.17:1 on white and 4.06:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7f6c19
RGBrgb(127 108 25)
RGB (legacy)rgb(127, 108, 25)
RGB %rgb(50% 42% 10%)
HSLhsl(49 67% 30%)
HSV / HSBhsv(49, 80%, 50%)
HWBhwb(49 10% 50%)
CMYKcmyk(0%, 15%, 80%, 50%)
CIELAB (D50)lab(46.35 1.15 45.61)
LCHlch(46.35 45.63 88.56)
OKLaboklab(0.5344 -0.0095 0.0998)
OKLCHoklch(0.5344 0.1003 95.41)
Decimal8350745

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 6
Closest web-safe color#666600
Hue49°
Saturation (HSL / HSV)67% / 80%
Lightness (HSL)30%
Brightness or Value (HSV)50%
Luminance (Rec.601 / Rec.709)41% / 42%
Relative luminance (WCAG)0.1531
Red / Green / Blue127 / 108 / 25

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 75.5 / -26.2 · As background with white / black text: Lc -80.9 / 28.6

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: #7f6c19;
  --color-brand-oklch: oklch(53.44% 0.1003 95.41);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(127 108 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7f6c19] text-[#7f6c19] border-[#7f6c19]">