#97B417#97B417

#97B417 is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 72.3% C 0.168 H 120.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#97B417
RGBrgb(151, 180, 23)
HSLhsl(71, 77%, 40%)
HSVhsv(71, 87%, 71%)
CMYKcmyk(16.1%, 0%, 87.2%, 29.4%)
CIE-LABlab(68.96, -28.66, 66.92)
CIE-LCHlch(68.96, 72.80, 113.18°)
OKLaboklab(72.27% -0.0858 0.144)
OKLCHoklch(72.27% 0.168 120.8)
XYZxyz(29.2390, 39.2837, 6.8526)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B417 #3417B4
analogous
#B48317 #97B417 #48B417
triadic
#97B417 #1797B4 #B41797
tetradic
#97B417 #17B483 #3417B4 #B41748
square
#97B417 #17B483 #3417B4 #B41748
split-complementary
#97B417 #1748B4 #8317B4
monochromatic
#3C4709 #697E10 #97B417 #C0E325 #D0EA5B

Accessibility & contrast

On white

2.37
#97B417 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#97B417 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B417
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B417#FFFFFF#000000##000000
##97B4171.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BCA82B
Tritanopia (blue-blind)
#A0AA99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b417;
/* rgb */ color: rgb(151, 180, 23);
/* oklch */ color: oklch(72.3% 0.168 120.8);
Tailwind
colors: {
  custom: {
    50: '#baca68',
    500: '#97b417',
    950: '#000000',
  },
}
SCSS
$custom: #97b417;
$custom-light: #baca68;
$custom-dark: #000000;
JSON
{
  "hex": "#97b417",
  "rgb": {
    "r": 151,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 71.083,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.72265,
    "c": 0.16764,
    "h": 120.8
  },
  "luminance": 0.39284
}

Semantic roles & 50–950 ramp

primary
#97B417
secondary
#6F59CE
accent
#34F457
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121307
muted
#81827A

Preview Lab

Preview with #97B417

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

Preview Lab → · Contrast checker → · Palette generator →

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