#97AF21

A color in the Yellow, Gold family

#97af21 is a color in the Yellow, Gold family: RGB(151, 175, 33), HSL(70°, 68%, 41%), CMYK(14%, 0%, 81%, 31%). Closest named color: yellowgreen. Contrast is 2.48:1 on white and 8.47:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#97af21
RGBrgb(151 175 33)
RGB (legacy)rgb(151, 175, 33)
RGB %rgb(59% 69% 13%)
HSLhsl(70 68% 41%)
HSV / HSBhsv(70, 81%, 69%)
HWBhwb(70 13% 31%)
CMYKcmyk(14%, 0%, 81%, 31%)
CIELAB (D50)lab(67.81 -21.6 62.53)
LCHlch(67.81 66.16 109.05)
OKLaboklab(0.7113 -0.0778 0.1379)
OKLCHoklch(0.7113 0.1583 119.44)
Decimal9940769

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 8.1
Closest web-safe color#999933
Hue70°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)41%
Brightness or Value (HSV)69%
Luminance (Rec.601 / Rec.709)59% / 63%
Relative luminance (WCAG)0.3735
Red / Green / Blue151 / 175 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.48:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.47:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 48.6 / -53.4 · As background with white / black text: Lc -53.6 / 55.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: #97af21;
  --color-brand-oklch: oklch(71.13% 0.1583 119.44);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(151 175 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#97af21] text-[#97af21] border-[#97af21]">