#97BB1E#97BB1E

#97BB1E is a light, vivid yellow-green. Relative luminance 0.422; OKLCH L 73.9% C 0.173 H 122.8°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#97BB1E
RGBrgb(151, 187, 30)
HSLhsl(74, 72%, 43%)
HSVhsv(74, 84%, 73%)
CMYKcmyk(19.3%, 0%, 84%, 26.7%)
CIE-LABlab(71.02, -31.77, 67.13)
CIE-LCHlch(71.02, 74.26, 115.32°)
OKLaboklab(73.94% -0.0939 0.1455)
OKLCHoklch(73.94% 0.173 122.8)
XYZxyz(30.7676, 42.2135, 7.7552)
Luminance0.4221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97BB1E #421EBB
analogous
#BB901E #97BB1E #48BB1E
triadic
#97BB1E #1E97BB #BB1E97
tetradic
#97BB1E #1EBB90 #421EBB #BB1E48
square
#97BB1E #1EBB90 #421EBB #BB1E48
split-complementary
#97BB1E #1E48BB #901EBB
monochromatic
#42520D #6C8616 #97BB1E #B8DF37 #CBE76C

Accessibility & contrast

On white

2.22
#97BB1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#97BB1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97BB1E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97BB1E#FFFFFF#000000##000000
##97BB1E1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C2AE31
Tritanopia (blue-blind)
#9FB19F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #97bb1e;
/* rgb */ color: rgb(151, 187, 30);
/* oklch */ color: oklch(73.9% 0.173 122.8);
Tailwind
colors: {
  custom: {
    50: '#bacf6b',
    500: '#97bb1e',
    950: '#000000',
  },
}
SCSS
$custom: #97bb1e;
$custom-light: #bacf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#97bb1e",
  "rgb": {
    "r": 151,
    "g": 187,
    "b": 30
  },
  "hsl": {
    "h": 73.758,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.73939,
    "c": 0.17316,
    "h": 122.8
  },
  "luminance": 0.42214
}

Semantic roles & 50–950 ramp

primary
#97BB1E
secondary
#7F67CD
accent
#39EF63
background
#FBFCF6
surface
#F7F9EC
border
#D0D2C7
text
#121308
muted
#81827B

Preview Lab

Preview with #97BB1E

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

Preview Lab → · Contrast checker → · Palette generator →

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