#97B22E#97B22E

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

Color values

HEX#97B22E
RGBrgb(151, 178, 46)
HSLhsl(72, 59%, 44%)
HSVhsv(72, 74%, 70%)
CMYKcmyk(15.2%, 0%, 74.2%, 30.2%)
CIE-LABlab(68.47, -26.82, 60.16)
CIE-LCHlch(68.47, 65.87, 114.03°)
OKLaboklab(71.91% -0.0792 0.1334)
OKLCHoklch(71.91% 0.155 120.7)
XYZxyz(29.1765, 38.6174, 8.5011)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B22E #492EB2
analogous
#B28B2E #97B22E #55B22E
triadic
#97B22E #2E97B2 #B22E97
tetradic
#97B22E #2EB28B #492EB2 #B22E55
square
#97B22E #2EB28B #492EB2 #B22E55
split-complementary
#97B22E #2E55B2 #8B2EB2
monochromatic
#445115 #6E8121 #97B22E #B6D14C #CADD7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B22E#FFFFFF#000000##000000
##97B22E1.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)
#BDA712
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#A0A999
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b22e;
/* rgb */ color: rgb(151, 178, 46);
/* oklch */ color: oklch(71.9% 0.155 120.7);
Tailwind
colors: {
  custom: {
    50: '#b9c971',
    500: '#97b22e',
    950: '#000000',
  },
}
SCSS
$custom: #97b22e;
$custom-light: #b9c971;
$custom-dark: #000000;
JSON
{
  "hex": "#97b22e",
  "rgb": {
    "r": 151,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 72.273,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71907,
    "c": 0.15512,
    "h": 120.7
  },
  "luminance": 0.38617
}

Semantic roles & 50–950 ramp

primary
#97B22E
secondary
#8676C6
accent
#46E266
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97B22E

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

Preview Lab → · Contrast checker → · Palette generator →

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