#7E6921

A color in the Yellow, Gold family

#7e6921 is a color in the Yellow, Gold family: RGB(126, 105, 33), HSL(46°, 58%, 31%), CMYK(0%, 17%, 74%, 51%). Closest named color: darkolivegreen. Contrast is 5.34:1 on white and 3.93:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7e6921
RGBrgb(126 105 33)
RGB (legacy)rgb(126, 105, 33)
RGB %rgb(49% 41% 13%)
HSLhsl(46 58% 31%)
HSV / HSBhsv(46, 74%, 49%)
HWBhwb(46 13% 51%)
CMYKcmyk(0%, 17%, 74%, 51%)
CIELAB (D50)lab(45.44 2.6 41.59)
LCHlch(45.44 41.67 86.43)
OKLaboklab(0.5272 -0.0038 0.0928)
OKLCHoklch(0.5272 0.0928 92.34)
Decimal8284449

Properties

Color ToneYellow, Gold
Closest named colordarkolivegreen ΔE 6.2
Closest web-safe color#666633
Hue46°
Saturation (HSL / HSV)58% / 74%
Lightness (HSL)31%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)40% / 41%
Relative luminance (WCAG)0.1465
Red / Green / Blue126 / 105 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.34:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.93: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 76.5 / -25.2 · As background with white / black text: Lc -81.8 / 27.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: #7e6921;
  --color-brand-oklch: oklch(52.72% 0.0928 92.34);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(126 105 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7e6921] text-[#7e6921] border-[#7e6921]">