#978E21

A color in the Yellow, Gold family

#978e21 is a color in the Yellow, Gold family: RGB(151, 142, 33), HSL(55°, 64%, 36%), CMYK(0%, 6%, 78%, 41%). Closest named color: darkgoldenrod. Contrast is 3.38:1 on white and 6.21:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#978e21
RGBrgb(151 142 33)
RGB (legacy)rgb(151, 142, 33)
RGB %rgb(59% 56% 13%)
HSLhsl(55 64% 36%)
HSV / HSBhsv(55, 78%, 59%)
HWBhwb(55 13% 41%)
CMYKcmyk(0%, 6%, 78%, 41%)
CIELAB (D50)lab(58.39 -5.55 54.47)
LCHlch(58.39 54.75 95.82)
OKLaboklab(0.6355 -0.0309 0.1197)
OKLCHoklch(0.6355 0.1236 104.47)
Decimal9932321

Properties

Color ToneYellow, Gold
Closest named colordarkgoldenrod ΔE 5.4
Closest web-safe color#999933
Hue55°
Saturation (HSL / HSV)64% / 78%
Lightness (HSL)36%
Brightness or Value (HSV)59%
Luminance (Rec.601 / Rec.709)52% / 53%
Relative luminance (WCAG)0.2604
Red / Green / Blue151 / 142 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.38:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.21: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 61.2 / -40.5 · As background with white / black text: Lc -66.6 / 42.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: #978e21;
  --color-brand-oklch: oklch(63.55% 0.1236 104.47);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(151 142 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#978e21] text-[#978e21] border-[#978e21]">