#96AD1F#96AD1F

#96AD1F is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.6% C 0.157 H 119.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#96AD1F
RGBrgb(150, 173, 31)
HSLhsl(70, 70%, 40%)
HSVhsv(70, 82%, 68%)
CMYKcmyk(13.3%, 0%, 82.1%, 32.2%)
CIE-LABlab(66.88, -25.46, 63.26)
CIE-LCHlch(66.88, 68.19, 111.92°)
OKLaboklab(70.58% -0.0766 0.1374)
OKLCHoklch(70.58% 0.157 119.1)
XYZxyz(27.7692, 36.4703, 6.8726)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AD1F #361FAD
analogous
#AD7D1F #96AD1F #4FAD1F
triadic
#96AD1F #1F96AD #AD1F96
tetradic
#96AD1F #1FAD7D #361FAD #AD1F4F
square
#96AD1F #1FAD7D #361FAD #AD1F4F
split-complementary
#96AD1F #1F4FAD #7D1FAD
monochromatic
#3C450C #697916 #96AD1F #BEDA2F #CEE363

Accessibility & contrast

On white

2.53
#96AD1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#96AD1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AD1F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AD1F#FFFFFF#000000##000000
##96AD1F1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#9FA394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #96ad1f;
/* rgb */ color: rgb(150, 173, 31);
/* oklch */ color: oklch(70.6% 0.157 119.1);
Tailwind
colors: {
  custom: {
    50: '#b9c569',
    500: '#96ad1f',
    950: '#000000',
  },
}
SCSS
$custom: #96ad1f;
$custom-light: #b9c569;
$custom-dark: #000000;
JSON
{
  "hex": "#96ad1f",
  "rgb": {
    "r": 150,
    "g": 173,
    "b": 31
  },
  "hsl": {
    "h": 69.718,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.70579,
    "c": 0.1573,
    "h": 119.1
  },
  "luminance": 0.3647
}

Semantic roles & 50–950 ramp

primary
#96AD1F
secondary
#7160C8
accent
#3BEC58
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96AD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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