#97B031#97B031

#97B031 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.5% C 0.151 H 120.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#97B031
RGBrgb(151, 176, 49)
HSLhsl(72, 56%, 44%)
HSVhsv(72, 72%, 69%)
CMYKcmyk(14.2%, 0%, 72.2%, 31%)
CIE-LABlab(67.91, -25.69, 58.56)
CIE-LCHlch(67.91, 63.95, 113.69°)
OKLaboklab(71.46% -0.0758 0.1305)
OKLCHoklch(71.46% 0.151 120.2)
XYZxyz(28.8427, 37.8518, 8.6918)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B031 #4A31B0
analogous
#B08A31 #97B031 #58B031
triadic
#97B031 #3197B0 #B03197
tetradic
#97B031 #31B08A #4A31B0 #B03158
square
#97B031 #31B08A #4A31B0 #B03158
split-complementary
#97B031 #3158B0 #8A31B0
monochromatic
#455016 #6E8024 #97B031 #B5CE50 #CADC80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B031#FFFFFF#000000##000000
##97B0311.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)
#BBA61A
Deuteranopia (green-blind)
#B8A63C
Tritanopia (blue-blind)
#A0A797
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97b031;
/* rgb */ color: rgb(151, 176, 49);
/* oklch */ color: oklch(71.5% 0.151 120.2);
Tailwind
colors: {
  custom: {
    50: '#b9c772',
    500: '#97b031',
    950: '#000000',
  },
}
SCSS
$custom: #97b031;
$custom-light: #b9c772;
$custom-dark: #000000;
JSON
{
  "hex": "#97b031",
  "rgb": {
    "r": 151,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 71.811,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71459,
    "c": 0.15093,
    "h": 120.2
  },
  "luminance": 0.37852
}

Semantic roles & 50–950 ramp

primary
#97B031
secondary
#8778C5
accent
#48E066
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B031

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

Preview Lab → · Contrast checker → · Palette generator →

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