#7F6D21

A color in the Yellow, Gold family

#7f6d21 is a color in the Yellow, Gold family: RGB(127, 109, 33), HSL(49°, 59%, 31%), CMYK(0%, 14%, 74%, 50%). Closest named color: olive. Contrast is 5.11:1 on white and 4.11:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7f6d21
RGBrgb(127 109 33)
RGB (legacy)rgb(127, 109, 33)
RGB %rgb(50% 43% 13%)
HSLhsl(49 59% 31%)
HSV / HSBhsv(49, 74%, 50%)
HWBhwb(49 13% 50%)
CMYKcmyk(0%, 14%, 74%, 50%)
CIELAB (D50)lab(46.68 0.87 42.81)
LCHlch(46.68 42.82 88.83)
OKLaboklab(0.5373 -0.0091 0.0954)
OKLCHoklch(0.5373 0.0959 95.45)
Decimal8351009

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 6
Closest web-safe color#666633
Hue49°
Saturation (HSL / HSV)59% / 74%
Lightness (HSL)31%
Brightness or Value (HSV)50%
Luminance (Rec.601 / Rec.709)41% / 42%
Relative luminance (WCAG)0.1556
Red / Green / Blue127 / 109 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.11:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.11: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.1 / -26.6 · As background with white / black text: Lc -80.5 / 28.9

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: #7f6d21;
  --color-brand-oklch: oklch(53.73% 0.0959 95.45);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(127 109 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7f6d21] text-[#7f6d21] border-[#7f6d21]">