#7D9321

A color in the Yellow, Gold family

#7d9321 is a color in the Yellow, Gold family: RGB(125, 147, 33), HSL(72°, 63%, 35%), CMYK(15%, 0%, 78%, 42%). Closest named color: olivedrab. Contrast is 3.46:1 on white and 6.07:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7d9321
RGBrgb(125 147 33)
RGB (legacy)rgb(125, 147, 33)
RGB %rgb(49% 58% 13%)
HSLhsl(72 63% 35%)
HSV / HSBhsv(72, 78%, 58%)
HWBhwb(72 13% 42%)
CMYKcmyk(15%, 0%, 78%, 42%)
CIELAB (D50)lab(57.63 -19.45 52.8)
LCHlch(57.63 56.27 110.22)
OKLaboklab(0.6249 -0.0688 0.1177)
OKLCHoklch(0.6249 0.1364 120.31)
Decimal8229665

Properties

Color ToneYellow, Gold
Closest named colorolivedrab ΔE 2.9
Closest web-safe color#669933
Hue72°
Saturation (HSL / HSV)63% / 78%
Lightness (HSL)35%
Brightness or Value (HSV)58%
Luminance (Rec.601 / Rec.709)50% / 53%
Relative luminance (WCAG)0.2534
Red / Green / Blue125 / 147 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.46:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.07: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 62 / -39.7 · As background with white / black text: Lc -67.5 / 42.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: #7d9321;
  --color-brand-oklch: oklch(62.49% 0.1364 120.31);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(125 147 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7d9321] text-[#7d9321] border-[#7d9321]">