#97B418#97B418

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

Color values

HEX#97B418
RGBrgb(151, 180, 24)
HSLhsl(71, 76%, 40%)
HSVhsv(71, 87%, 71%)
CMYKcmyk(16.1%, 0%, 86.7%, 29.4%)
CIE-LABlab(68.96, -28.64, 66.72)
CIE-LCHlch(68.96, 72.61, 113.23°)
OKLaboklab(72.27% -0.0857 0.1437)
OKLCHoklch(72.27% 0.167 120.8)
XYZxyz(29.2492, 39.2878, 6.9064)
Luminance0.3929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97B418 #3518B4
analogous
#B48318 #97B418 #49B418
triadic
#97B418 #1897B4 #B41897
tetradic
#97B418 #18B483 #3518B4 #B41849
square
#97B418 #18B483 #3518B4 #B41849
split-complementary
#97B418 #1849B4 #8318B4
monochromatic
#3C480A #6A7E11 #97B418 #BFE227 #CFE95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97B418#FFFFFF#000000##000000
##97B4181.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)
#BCA82C
Tritanopia (blue-blind)
#A0AA99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #97b418;
/* rgb */ color: rgb(151, 180, 24);
/* oklch */ color: oklch(72.3% 0.167 120.8);
Tailwind
colors: {
  custom: {
    50: '#baca68',
    500: '#97b418',
    950: '#000000',
  },
}
SCSS
$custom: #97b418;
$custom-light: #baca68;
$custom-dark: #000000;
JSON
{
  "hex": "#97b418",
  "rgb": {
    "r": 151,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 71.154,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.72269,
    "c": 0.16733,
    "h": 120.8
  },
  "luminance": 0.39288
}

Semantic roles & 50–950 ramp

primary
#97B418
secondary
#705BCD
accent
#35F358
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #97B418

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

Preview Lab → · Contrast checker → · Palette generator →

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