#96A81F#96A81F

#96A81F is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.4% C 0.152 H 117.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#96A81F
RGBrgb(150, 168, 31)
HSLhsl(68, 69%, 39%)
HSVhsv(68, 82%, 66%)
CMYKcmyk(10.7%, 0%, 81.5%, 34.1%)
CIE-LABlab(65.43, -22.99, 61.99)
CIE-LCHlch(65.43, 66.12, 110.35°)
OKLaboklab(69.41% -0.0698 0.1347)
OKLCHoklch(69.41% 0.152 117.4)
XYZxyz(26.8283, 34.5885, 6.5590)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A81F #311FA8
analogous
#A8761F #96A81F #52A81F
triadic
#96A81F #1F96A8 #A81F96
tetradic
#96A81F #1FA876 #311FA8 #A81F52
square
#96A81F #1FA876 #311FA8 #A81F52
split-complementary
#96A81F #1F52A8 #761FA8
monochromatic
#3A410C #687415 #96A81F #C1D82C #D1E260

Accessibility & contrast

On white

2.65
#96A81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#96A81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A81F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A81F#FFFFFF#000000##000000
##96A81F1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B2A02D
Tritanopia (blue-blind)
#A09E8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #96a81f;
/* rgb */ color: rgb(150, 168, 31);
/* oklch */ color: oklch(69.4% 0.152 117.4);
Tailwind
colors: {
  custom: {
    50: '#b9c169',
    500: '#96a81f',
    950: '#000000',
  },
}
SCSS
$custom: #96a81f;
$custom-light: #b9c169;
$custom-dark: #000000;
JSON
{
  "hex": "#96a81f",
  "rgb": {
    "r": 150,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 67.883,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69411,
    "c": 0.15171,
    "h": 117.4
  },
  "luminance": 0.34588
}

Semantic roles & 50–950 ramp

primary
#96A81F
secondary
#6A5DC6
accent
#3CEC53
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A81F

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

Preview Lab → · Contrast checker → · Palette generator →

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