#97B02B#97B02B

#97B02B is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.4% C 0.154 H 120.0°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#97B02B
RGBrgb(151, 176, 43)
HSLhsl(71, 61%, 43%)
HSVhsv(71, 76%, 69%)
CMYKcmyk(14.2%, 0%, 75.6%, 31%)
CIE-LABlab(67.88, -26.00, 60.61)
CIE-LCHlch(67.88, 65.95, 113.22°)
OKLaboklab(71.42% -0.0772 0.1338)
OKLCHoklch(71.42% 0.154 120)
XYZxyz(28.7244, 37.8045, 8.0688)
Luminance0.3780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B02B #442BB0
analogous
#B0862B #97B02B #54B02B
triadic
#97B02B #2B97B0 #B02B97
tetradic
#97B02B #2BB086 #442BB0 #B02B54
square
#97B02B #2BB086 #442BB0 #B02B54
split-complementary
#97B02B #2B54B0 #862BB0
monochromatic
#434E13 #6D7F1F #97B02B #B8D246 #CBDE78

Accessibility & contrast

On white

2.45
#97B02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#97B02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B02B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B02B#FFFFFF#000000##000000
##97B02B1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA60B
Deuteranopia (green-blind)
#B8A637
Tritanopia (blue-blind)
#A0A697
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97b02b;
/* rgb */ color: rgb(151, 176, 43);
/* oklch */ color: oklch(71.4% 0.154 120.0);
Tailwind
colors: {
  custom: {
    50: '#b9c76f',
    500: '#97b02b',
    950: '#000000',
  },
}
SCSS
$custom: #97b02b;
$custom-light: #b9c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#97b02b",
  "rgb": {
    "r": 151,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 71.278,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.7142,
    "c": 0.15447,
    "h": 120
  },
  "luminance": 0.37804
}

Semantic roles & 50–950 ramp

primary
#97B02B
secondary
#8171C6
accent
#44E462
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B02B

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

Preview Lab → · Contrast checker → · Palette generator →

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