#97B23C#97B23C

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

Color values

HEX#97B23C
RGBrgb(151, 178, 60)
HSLhsl(74, 50%, 47%)
HSVhsv(74, 66%, 70%)
CMYKcmyk(15.2%, 0%, 66.3%, 30.2%)
CIE-LABlab(68.57, -25.99, 54.98)
CIE-LCHlch(68.57, 60.81, 115.30°)
OKLaboklab(72.01% -0.0756 0.1247)
OKLCHoklch(72.01% 0.146 121.2)
XYZxyz(29.4989, 38.7464, 10.1988)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B23C #573CB2
analogous
#B2923C #97B23C #5CB23C
triadic
#97B23C #3C97B2 #B23C97
tetradic
#97B23C #3CB292 #573CB2 #B23C5C
square
#97B23C #3CB292 #573CB2 #B23C5C
split-complementary
#97B23C #3C5CB2 #923CB2
monochromatic
#49561D #70842D #97B23C #B2CA61 #C8D98F

Accessibility & contrast

On white

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

On black

8.75
#97B23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B23C
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B23C#FFFFFF#000000##000000
##97B23C1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97b23c;
/* rgb */ color: rgb(151, 178, 60);
/* oklch */ color: oklch(72.0% 0.146 121.2);
Tailwind
colors: {
  custom: {
    50: '#b8c978',
    500: '#97b23c',
    950: '#000000',
  },
}
SCSS
$custom: #97b23c;
$custom-light: #b8c978;
$custom-dark: #000000;
JSON
{
  "hex": "#97b23c",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 60
  },
  "hsl": {
    "h": 73.729,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72012,
    "c": 0.14583,
    "h": 121.2
  },
  "luminance": 0.38746
}

Semantic roles & 50–950 ramp

primary
#97B23C
secondary
#9486C4
accent
#4FD96E
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #97B23C

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

Preview Lab → · Contrast checker → · Palette generator →

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