#8D8D21

A color in the Yellow, Gold family

#8d8d21 is a color in the Yellow, Gold family: RGB(141, 141, 33), HSL(60°, 62%, 34%), CMYK(0%, 0%, 77%, 45%). Closest named color: olive. Contrast is 3.52:1 on white and 5.96:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8d8d21
RGBrgb(141 141 33)
RGB (legacy)rgb(141, 141, 33)
RGB %rgb(55% 55% 13%)
HSLhsl(60 62% 34%)
HSV / HSBhsv(60, 77%, 55%)
HWBhwb(60 13% 45%)
CMYKcmyk(0%, 0%, 77%, 45%)
CIELAB (D50)lab(57.19 -9.51 53)
LCHlch(57.19 53.84 100.18)
OKLaboklab(0.624 -0.0415 0.1172)
OKLCHoklch(0.624 0.1243 109.52)
Decimal9276705

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 4.3
Closest web-safe color#999933
Hue60°
Saturation (HSL / HSV)62% / 77%
Lightness (HSL)34%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)50% / 52%
Relative luminance (WCAG)0.2482
Red / Green / Blue141 / 141 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.52:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.96: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.7 / -39 · As background with white / black text: Lc -68.1 / 41.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: #8d8d21;
  --color-brand-oklch: oklch(62.4% 0.1243 109.52);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(141 141 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8d8d21] text-[#8d8d21] border-[#8d8d21]">