#96B418#96B418

#96B418 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.2% C 0.168 H 121.2°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#96B418
RGBrgb(150, 180, 24)
HSLhsl(72, 76%, 40%)
HSVhsv(72, 87%, 71%)
CMYKcmyk(16.7%, 0%, 86.7%, 29.4%)
CIE-LABlab(68.89, -29.05, 66.63)
CIE-LCHlch(68.89, 72.69, 113.56°)
OKLaboklab(72.19% -0.0868 0.1436)
OKLCHoklch(72.19% 0.168 121.2)
XYZxyz(29.0644, 39.1925, 6.8977)
Luminance0.3919 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96B418 #3618B4
analogous
#B48418 #96B418 #48B418
triadic
#96B418 #1896B4 #B41896
tetradic
#96B418 #18B484 #3618B4 #B41848
square
#96B418 #18B484 #3618B4 #B41848
split-complementary
#96B418 #1848B4 #8418B4
monochromatic
#3C480A #697E11 #96B418 #BEE227 #CEE95D

Accessibility & contrast

On white

2.38
#96B418 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#96B418 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96B418
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96B418#FFFFFF#000000##000000
##96B4181.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BCA82C
Tritanopia (blue-blind)
#9FAA99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #96b418;
/* rgb */ color: rgb(150, 180, 24);
/* oklch */ color: oklch(72.2% 0.168 121.2);
Tailwind
colors: {
  custom: {
    50: '#b9ca68',
    500: '#96b418',
    950: '#000000',
  },
}
SCSS
$custom: #96b418;
$custom-light: #b9ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#96b418",
  "rgb": {
    "r": 150,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 71.538,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.72195,
    "c": 0.16776,
    "h": 121.2
  },
  "luminance": 0.39192
}

Semantic roles & 50–950 ramp

primary
#96B418
secondary
#715BCD
accent
#35F359
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #96B418

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

Preview Lab → · Contrast checker → · Palette generator →

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