#7D9921

A color in the Yellow, Gold family

#7d9921 is a color in the Yellow, Gold family: RGB(125, 153, 33), HSL(74°, 65%, 36%), CMYK(18%, 0%, 78%, 40%). Closest named color: olivedrab. Contrast is 3.26:1 on white and 6.45:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7d9921
RGBrgb(125 153 33)
RGB (legacy)rgb(125, 153, 33)
RGB %rgb(49% 60% 13%)
HSLhsl(74 65% 36%)
HSV / HSBhsv(74, 78%, 60%)
HWBhwb(74 13% 40%)
CMYKcmyk(18%, 0%, 78%, 40%)
CIELAB (D50)lab(59.43 -22.26 54.4)
LCHlch(59.43 58.78 112.25)
OKLaboklab(0.6394 -0.077 0.1213)
OKLCHoklch(0.6394 0.1437 122.41)
Decimal8231201

Properties

Color ToneYellow, Gold
Closest named colorolivedrab ΔE 4.2
Closest web-safe color#669933
Hue74°
Saturation (HSL / HSV)65% / 78%
Lightness (HSL)36%
Brightness or Value (HSV)60%
Luminance (Rec.601 / Rec.709)51% / 54%
Relative luminance (WCAG)0.2725
Red / Green / Blue125 / 153 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.26:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.45: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 59.7 / -42 · As background with white / black text: Lc -65.1 / 44.4

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