#97B317#97B317

#97B317 is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 72.0% C 0.167 H 120.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#97B317
RGBrgb(151, 179, 23)
HSLhsl(71, 77%, 40%)
HSVhsv(71, 87%, 70%)
CMYKcmyk(15.6%, 0%, 87.2%, 29.8%)
CIE-LABlab(68.67, -28.18, 66.68)
CIE-LCHlch(68.67, 72.39, 112.91°)
OKLaboklab(72.03% -0.0845 0.1435)
OKLCHoklch(72.03% 0.167 120.5)
XYZxyz(29.0379, 38.8815, 6.7856)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B317 #3317B3
analogous
#B38117 #97B317 #49B317
triadic
#97B317 #1797B3 #B31797
tetradic
#97B317 #17B381 #3317B3 #B31749
square
#97B317 #17B381 #3317B3 #B31749
split-complementary
#97B317 #1749B3 #8117B3
monochromatic
#3C4709 #697D10 #97B317 #C1E324 #D0EA5B

Accessibility & contrast

On white

2.39
#97B317 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#97B317 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97B317
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97B317#FFFFFF#000000##000000
##97B3171.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BBA82B
Tritanopia (blue-blind)
#A0A998
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97b317;
/* rgb */ color: rgb(151, 179, 23);
/* oklch */ color: oklch(72.0% 0.167 120.5);
Tailwind
colors: {
  custom: {
    50: '#bac968',
    500: '#97b317',
    950: '#000000',
  },
}
SCSS
$custom: #97b317;
$custom-light: #bac968;
$custom-dark: #000000;
JSON
{
  "hex": "#97b317",
  "rgb": {
    "r": 151,
    "g": 179,
    "b": 23
  },
  "hsl": {
    "h": 70.769,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.7203,
    "c": 0.16653,
    "h": 120.5
  },
  "luminance": 0.38881
}

Semantic roles & 50–950 ramp

primary
#97B317
secondary
#6D58CD
accent
#34F456
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121307
muted
#81827A

Preview Lab

Preview with #97B317

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

Preview Lab → · Contrast checker → · Palette generator →

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