#97B02F#97B02F

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

Color values

HEX#97B02F
RGBrgb(151, 176, 47)
HSLhsl(72, 58%, 44%)
HSVhsv(72, 73%, 69%)
CMYKcmyk(14.2%, 0%, 73.3%, 31%)
CIE-LABlab(67.90, -25.80, 59.26)
CIE-LCHlch(67.90, 64.63, 113.52°)
OKLaboklab(71.45% -0.0763 0.1316)
OKLCHoklch(71.45% 0.152 120.1)
XYZxyz(28.8015, 37.8353, 8.4744)
Luminance0.3784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B02F #482FB0
analogous
#B0882F #97B02F #56B02F
triadic
#97B02F #2F97B0 #B02F97
tetradic
#97B02F #2FB088 #482FB0 #B02F56
square
#97B02F #2FB088 #482FB0 #B02F56
split-complementary
#97B02F #2F56B0 #882FB0
monochromatic
#444F15 #6E8022 #97B02F #B6CF4D #CADC7D

Accessibility & contrast

On white

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

On black

8.57
#97B02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B02F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B02F#FFFFFF#000000##000000
##97B02F1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA616
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#A0A797
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97b02f;
/* rgb */ color: rgb(151, 176, 47);
/* oklch */ color: oklch(71.4% 0.152 120.1);
Tailwind
colors: {
  custom: {
    50: '#b9c771',
    500: '#97b02f',
    950: '#000000',
  },
}
SCSS
$custom: #97b02f;
$custom-light: #b9c771;
$custom-dark: #000000;
JSON
{
  "hex": "#97b02f",
  "rgb": {
    "r": 151,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 71.628,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71446,
    "c": 0.15216,
    "h": 120.1
  },
  "luminance": 0.37835
}

Semantic roles & 50–950 ramp

primary
#97B02F
secondary
#8576C5
accent
#47E165
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B02F

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

Preview Lab → · Contrast checker → · Palette generator →

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