#97B41F#97B41F

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

Color values

HEX#97B41F
RGBrgb(151, 180, 31)
HSLhsl(72, 71%, 41%)
HSVhsv(72, 83%, 71%)
CMYKcmyk(16.1%, 0%, 82.8%, 29.4%)
CIE-LABlab(68.98, -28.42, 65.12)
CIE-LCHlch(68.98, 71.06, 113.58°)
OKLaboklab(72.3% -0.0847 0.1414)
OKLCHoklch(72.3% 0.165 120.9)
XYZxyz(29.3316, 39.3208, 7.3405)
Luminance0.3932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B41F #3C1FB4
analogous
#B4871F #97B41F #4DB41F
triadic
#97B41F #1F97B4 #B41F97
tetradic
#97B41F #1FB487 #3C1FB4 #B41F4D
square
#97B41F #1FB487 #3C1FB4 #B41F4D
split-complementary
#97B41F #1F4DB4 #871FB4
monochromatic
#3F4C0D #6B8016 #97B41F #BBDC34 #CDE568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B41F#FFFFFF#000000##000000
##97B41F1.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)
#BCA930
Tritanopia (blue-blind)
#A0AA9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b41f;
/* rgb */ color: rgb(151, 180, 31);
/* oklch */ color: oklch(72.3% 0.165 120.9);
Tailwind
colors: {
  custom: {
    50: '#baca6a',
    500: '#97b41f',
    950: '#000000',
  },
}
SCSS
$custom: #97b41f;
$custom-light: #baca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#97b41f",
  "rgb": {
    "r": 151,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 71.678,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72295,
    "c": 0.1648,
    "h": 120.9
  },
  "luminance": 0.39321
}

Semantic roles & 50–950 ramp

primary
#97B41F
secondary
#7864CB
accent
#3AED5D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #97B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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