#97BA21

A color in the Yellow, Gold family

#97ba21 is a color in the Yellow, Gold family: RGB(151, 186, 33), HSL(74°, 70%, 43%), CMYK(19%, 0%, 82%, 27%). Closest named color: yellowgreen. Contrast is 2.24:1 on white and 9.36:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#97ba21
RGBrgb(151 186 33)
RGB (legacy)rgb(151, 186, 33)
RGB %rgb(59% 73% 13%)
HSLhsl(74 70% 43%)
HSV / HSBhsv(74, 82%, 73%)
HWBhwb(74 13% 27%)
CMYKcmyk(19%, 0%, 82%, 27%)
CIELAB (D50)lab(70.99 -26.57 65.21)
LCHlch(70.99 70.42 112.17)
OKLaboklab(0.7372 -0.0922 0.1439)
OKLCHoklch(0.7372 0.1709 122.64)
Decimal9943585

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 5.1
Closest web-safe color#99cc33
Hue74°
Saturation (HSL / HSV)70% / 82%
Lightness (HSL)43%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)62% / 66%
Relative luminance (WCAG)0.4181
Red / Green / Blue151 / 186 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.24:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.36: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 44 / -58.1 · As background with white / black text: Lc -48.8 / 59.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: #97ba21;
  --color-brand-oklch: oklch(73.72% 0.1709 122.64);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(151 186 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#97ba21] text-[#97ba21] border-[#97ba21]">