#97B22F#97B22F

#97B22F is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 71.9% C 0.155 H 120.7°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#97B22F
RGBrgb(151, 178, 47)
HSLhsl(72, 58%, 44%)
HSVhsv(72, 74%, 70%)
CMYKcmyk(15.2%, 0%, 73.6%, 30.2%)
CIE-LABlab(68.48, -26.77, 59.82)
CIE-LCHlch(68.48, 65.54, 114.11°)
OKLaboklab(71.91% -0.079 0.1328)
OKLCHoklch(71.91% 0.155 120.7)
XYZxyz(29.1965, 38.6254, 8.6061)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B22F #4A2FB2
analogous
#B28C2F #97B22F #56B22F
triadic
#97B22F #2F97B2 #B22F97
tetradic
#97B22F #2FB28C #4A2FB2 #B22F56
square
#97B22F #2FB28C #4A2FB2 #B22F56
split-complementary
#97B22F #2F56B2 #8C2FB2
monochromatic
#455115 #6E8222 #97B22F #B5D04E #CADD7E

Accessibility & contrast

On white

2.41
#97B22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#97B22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B22F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B22F#FFFFFF#000000##000000
##97B22F1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA715
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#A0A999
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b22f;
/* rgb */ color: rgb(151, 178, 47);
/* oklch */ color: oklch(71.9% 0.155 120.7);
Tailwind
colors: {
  custom: {
    50: '#b9c971',
    500: '#97b22f',
    950: '#000000',
  },
}
SCSS
$custom: #97b22f;
$custom-light: #b9c971;
$custom-dark: #000000;
JSON
{
  "hex": "#97b22f",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 72.366,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71913,
    "c": 0.15452,
    "h": 120.7
  },
  "luminance": 0.38625
}

Semantic roles & 50–950 ramp

primary
#97B22F
secondary
#8777C6
accent
#46E166
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B22F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#97B22F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva