#97B239#97B239

#97B239 is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 72.0% C 0.148 H 121.1°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#97B239
RGBrgb(151, 178, 57)
HSLhsl(73, 51%, 46%)
HSVhsv(73, 68%, 70%)
CMYKcmyk(15.2%, 0%, 68%, 30.2%)
CIE-LABlab(68.54, -26.19, 56.16)
CIE-LCHlch(68.54, 61.96, 115.00°)
OKLaboklab(71.99% -0.0765 0.1267)
OKLCHoklch(71.99% 0.148 121.1)
XYZxyz(29.4218, 38.7155, 9.7930)
Luminance0.3872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B239 #5439B2
analogous
#B29039 #97B239 #5BB239
triadic
#97B239 #3997B2 #B23997
tetradic
#97B239 #39B290 #5439B2 #B2395B
square
#97B239 #39B290 #5439B2 #B2395B
split-complementary
#97B239 #395BB2 #9039B2
monochromatic
#48551B #70842A #97B239 #B3CB5D #C8DA8B

Accessibility & contrast

On white

2.40
#97B239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#97B239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B239
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B239#FFFFFF#000000##000000
##97B2391.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA827
Deuteranopia (green-blind)
#B9A742
Tritanopia (blue-blind)
#9FA99A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b239;
/* rgb */ color: rgb(151, 178, 57);
/* oklch */ color: oklch(72.0% 0.148 121.1);
Tailwind
colors: {
  custom: {
    50: '#b9c976',
    500: '#97b239',
    950: '#000000',
  },
}
SCSS
$custom: #97b239;
$custom-light: #b9c976;
$custom-dark: #000000;
JSON
{
  "hex": "#97b239",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 73.388,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71987,
    "c": 0.148,
    "h": 121.1
  },
  "luminance": 0.38716
}

Semantic roles & 50–950 ramp

primary
#97B239
secondary
#9182C4
accent
#4DDB6D
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97B239

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

Preview Lab → · Contrast checker → · Palette generator →

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