#7D8321

A color in the Yellow, Gold family

#7d8321 is a color in the Yellow, Gold family: RGB(125, 131, 33), HSL(64°, 60%, 32%), CMYK(5%, 0%, 75%, 49%). Closest named color: olive. Contrast is 4.09:1 on white and 5.14:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7d8321
RGBrgb(125 131 33)
RGB (legacy)rgb(125, 131, 33)
RGB %rgb(49% 51% 13%)
HSLhsl(64 60% 32%)
HSV / HSBhsv(64, 75%, 51%)
HWBhwb(64 13% 49%)
CMYKcmyk(5%, 0%, 75%, 49%)
CIELAB (D50)lab(52.87 -11.61 48.49)
LCHlch(52.87 49.86 103.47)
OKLaboklab(0.5865 -0.046 0.1082)
OKLCHoklch(0.5865 0.1176 113.01)
Decimal8225569

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 1.3
Closest web-safe color#669933
Hue64°
Saturation (HSL / HSV)60% / 75%
Lightness (HSL)32%
Brightness or Value (HSV)51%
Luminance (Rec.601 / Rec.709)46% / 48%
Relative luminance (WCAG)0.207
Red / Green / Blue125 / 131 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.09:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.14: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 67.9 / -33.7 · As background with white / black text: Lc -73.4 / 36.2

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