#97B229#97B229

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

Color values

HEX#97B229
RGBrgb(151, 178, 41)
HSLhsl(72, 63%, 43%)
HSVhsv(72, 77%, 70%)
CMYKcmyk(15.2%, 0%, 77%, 30.2%)
CIE-LABlab(68.45, -27.06, 61.79)
CIE-LCHlch(68.45, 67.45, 113.65°)
OKLaboklab(71.88% -0.0803 0.1359)
OKLCHoklch(71.88% 0.158 120.6)
XYZxyz(29.0837, 38.5803, 8.0120)
Luminance0.3858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B229 #4429B2
analogous
#B28829 #97B229 #52B229
triadic
#97B229 #2997B2 #B22997
tetradic
#97B229 #29B288 #4429B2 #B22952
square
#97B229 #29B288 #4429B2 #B22952
split-complementary
#97B229 #2952B2 #8829B2
monochromatic
#434F12 #6D801E #97B229 #B8D444 #CBDF76

Accessibility & contrast

On white

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

On black

8.72
#97B229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B229
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B229#FFFFFF#000000##000000
##97B2291.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA702
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#A0A898
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b229;
/* rgb */ color: rgb(151, 178, 41);
/* oklch */ color: oklch(71.9% 0.158 120.6);
Tailwind
colors: {
  custom: {
    50: '#b9c96e',
    500: '#97b229',
    950: '#000000',
  },
}
SCSS
$custom: #97b229;
$custom-light: #b9c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#97b229",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 71.825,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71876,
    "c": 0.15788,
    "h": 120.6
  },
  "luminance": 0.3858
}

Semantic roles & 50–950 ramp

primary
#97B229
secondary
#8170C7
accent
#42E662
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B229

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

Preview Lab → · Contrast checker → · Palette generator →

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