#667D21

A color in the Yellow, Gold family

#667d21 is a color in the Yellow, Gold family: RGB(102, 125, 33), HSL(75°, 58%, 31%), CMYK(18%, 0%, 74%, 51%). Closest named color: olive. Contrast is 4.65:1 on white and 4.52:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#667d21
RGBrgb(102 125 33)
RGB (legacy)rgb(102, 125, 33)
RGB %rgb(40% 49% 13%)
HSLhsl(75 58% 31%)
HSV / HSBhsv(75, 74%, 49%)
HWBhwb(75 13% 51%)
CMYKcmyk(18%, 0%, 74%, 51%)
CIELAB (D50)lab(49.19 -18.77 44.27)
LCHlch(49.19 48.08 112.98)
OKLaboklab(0.5529 -0.0642 0.1002)
OKLCHoklch(0.5529 0.119 122.66)
Decimal6716705

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 4
Closest web-safe color#666633
Hue75°
Saturation (HSL / HSV)58% / 74%
Lightness (HSL)31%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)42% / 44%
Relative luminance (WCAG)0.176
Red / Green / Blue102 / 125 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.65:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.52: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.2 / -29.5 · As background with white / black text: Lc -77.6 / 31.9

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