#97B231#97B231

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

Color values

HEX#97B231
RGBrgb(151, 178, 49)
HSLhsl(73, 57%, 45%)
HSVhsv(73, 72%, 70%)
CMYKcmyk(15.2%, 0%, 72.5%, 30.2%)
CIE-LABlab(68.49, -26.66, 59.13)
CIE-LCHlch(68.49, 64.86, 114.27°)
OKLaboklab(71.93% -0.0785 0.1317)
OKLCHoklch(71.93% 0.153 120.8)
XYZxyz(29.2378, 38.6419, 8.8235)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B231 #4C31B2
analogous
#B28D31 #97B231 #57B231
triadic
#97B231 #3197B2 #B23197
tetradic
#97B231 #31B28D #4C31B2 #B23157
square
#97B231 #31B28D #4C31B2 #B23157
split-complementary
#97B231 #3157B2 #8D31B2
monochromatic
#465217 #6E8224 #97B231 #B5CF51 #C9DC81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B231#FFFFFF#000000##000000
##97B2311.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)
#BDA719
Deuteranopia (green-blind)
#BAA73C
Tritanopia (blue-blind)
#9FA999
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b231;
/* rgb */ color: rgb(151, 178, 49);
/* oklch */ color: oklch(71.9% 0.153 120.8);
Tailwind
colors: {
  custom: {
    50: '#b9c972',
    500: '#97b231',
    950: '#000000',
  },
}
SCSS
$custom: #97b231;
$custom-light: #b9c972;
$custom-dark: #000000;
JSON
{
  "hex": "#97b231",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 72.558,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71927,
    "c": 0.15331,
    "h": 120.8
  },
  "luminance": 0.38642
}

Semantic roles & 50–950 ramp

primary
#97B231
secondary
#8979C5
accent
#48E068
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B231

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

Preview Lab → · Contrast checker → · Palette generator →

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