#997D21

A color in the Yellow, Gold family

#997d21 is a color in the Yellow, Gold family: RGB(153, 125, 33), HSL(46°, 65%, 36%), CMYK(0%, 18%, 78%, 40%). Closest named color: olive. Contrast is 3.95:1 on white and 5.31:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#997d21
RGBrgb(153 125 33)
RGB (legacy)rgb(153, 125, 33)
RGB %rgb(60% 49% 13%)
HSLhsl(46 65% 36%)
HSV / HSBhsv(46, 78%, 60%)
HWBhwb(46 13% 40%)
CMYKcmyk(0%, 18%, 78%, 40%)
CIELAB (D50)lab(53.9 4.26 50.63)
LCHlch(53.9 50.81 85.2)
OKLaboklab(0.6001 -0.0019 0.1109)
OKLCHoklch(0.6001 0.1109 90.98)
Decimal10059041

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 4.6
Closest web-safe color#996633
Hue46°
Saturation (HSL / HSV)65% / 78%
Lightness (HSL)36%
Brightness or Value (HSV)60%
Luminance (Rec.601 / Rec.709)48% / 49%
Relative luminance (WCAG)0.2155
Red / Green / Blue153 / 125 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.95:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.31: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 66.8 / -34.9 · As background with white / black text: Lc -72.3 / 37.3

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: #997d21;
  --color-brand-oklch: oklch(60.01% 0.1109 90.98);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(153 125 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#997d21] text-[#997d21] border-[#997d21]">