#96AC1F#96AC1F

#96AC1F is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.3% C 0.156 H 118.8°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#96AC1F
RGBrgb(150, 172, 31)
HSLhsl(69, 69%, 40%)
HSVhsv(69, 82%, 67%)
CMYKcmyk(12.8%, 0%, 82%, 32.5%)
CIE-LABlab(66.59, -24.97, 63.01)
CIE-LCHlch(66.59, 67.77, 111.62°)
OKLaboklab(70.35% -0.0752 0.1369)
OKLCHoklch(70.35% 0.156 118.8)
XYZxyz(27.5782, 36.0882, 6.8090)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AC1F #351FAC
analogous
#AC7C1F #96AC1F #4FAC1F
triadic
#96AC1F #1F96AC #AC1F96
tetradic
#96AC1F #1FAC7C #351FAC #AC1F4F
square
#96AC1F #1FAC7C #351FAC #AC1F4F
split-complementary
#96AC1F #1F4FAC #7C1FAC
monochromatic
#3C440C #697816 #96AC1F #BFD92F #CFE363

Accessibility & contrast

On white

2.56
#96AC1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#96AC1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AC1F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AC1F#FFFFFF#000000##000000
##96AC1F1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B5A22E
Tritanopia (blue-blind)
#9FA293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #96ac1f;
/* rgb */ color: rgb(150, 172, 31);
/* oklch */ color: oklch(70.3% 0.156 118.8);
Tailwind
colors: {
  custom: {
    50: '#b9c469',
    500: '#96ac1f',
    950: '#000000',
  },
}
SCSS
$custom: #96ac1f;
$custom-light: #b9c469;
$custom-dark: #000000;
JSON
{
  "hex": "#96ac1f",
  "rgb": {
    "r": 150,
    "g": 172,
    "b": 31
  },
  "hsl": {
    "h": 69.362,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70345,
    "c": 0.15617,
    "h": 118.8
  },
  "luminance": 0.36088
}

Semantic roles & 50–950 ramp

primary
#96AC1F
secondary
#6F5FC8
accent
#3CEC57
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96AC1F

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

Preview Lab → · Contrast checker → · Palette generator →

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