#7E7721

A color in the Yellow, Gold family

#7e7721 is a color in the Yellow, Gold family: RGB(126, 119, 33), HSL(55°, 58%, 31%), CMYK(0%, 6%, 74%, 51%). Closest named color: olive. Contrast is 4.62:1 on white and 4.55:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7e7721
RGBrgb(126 119 33)
RGB (legacy)rgb(126, 119, 33)
RGB %rgb(49% 47% 13%)
HSLhsl(55 58% 31%)
HSV / HSBhsv(55, 74%, 49%)
HWBhwb(55 13% 51%)
CMYKcmyk(0%, 6%, 74%, 51%)
CIELAB (D50)lab(49.45 -4.96 45.37)
LCHlch(49.45 45.64 96.24)
OKLaboklab(0.5592 -0.0264 0.1012)
OKLCHoklch(0.5592 0.1046 104.62)
Decimal8288033

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 3.2
Closest web-safe color#666633
Hue55°
Saturation (HSL / HSV)58% / 74%
Lightness (HSL)31%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)44% / 45%
Relative luminance (WCAG)0.1774
Red / Green / Blue126 / 119 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.62:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.55: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 72 / -29.7 · As background with white / black text: Lc -77.4 / 32.1

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: #7e7721;
  --color-brand-oklch: oklch(55.92% 0.1046 104.62);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(126 119 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7e7721] text-[#7e7721] border-[#7e7721]">