#96A01B#96A01B

#96A01B is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.5% C 0.145 H 114.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#96A01B
RGBrgb(150, 160, 27)
HSLhsl(65, 71%, 37%)
HSVhsv(65, 83%, 63%)
CMYKcmyk(6.2%, 0%, 83.1%, 37.3%)
CIE-LABlab(63.10, -19.11, 61.03)
CIE-LCHlch(63.10, 63.95, 107.38°)
OKLaboklab(67.54% -0.0594 0.1319)
OKLCHoklch(67.54% 0.145 114.2)
XYZxyz(25.3471, 31.7053, 5.8212)
Luminance0.3170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A01B #251BA0
analogous
#A0681B #96A01B #54A01B
triadic
#96A01B #1B96A0 #A01B96
tetradic
#96A01B #1BA068 #251BA0 #A01B54
square
#96A01B #1BA068 #251BA0 #A01B54
split-complementary
#96A01B #1B54A0 #681BA0
monochromatic
#343709 #656C12 #96A01B #C7D424 #D7E253

Accessibility & contrast

On white

2.86
#96A01B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#96A01B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A01B
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A01B#FFFFFF#000000##000000
##96A01B1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AC9A29
Tritanopia (blue-blind)
#A19688
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #96a01b;
/* rgb */ color: rgb(150, 160, 27);
/* oklch */ color: oklch(67.5% 0.145 114.2);
Tailwind
colors: {
  custom: {
    50: '#b9bb66',
    500: '#96a01b',
    950: '#000000',
  },
}
SCSS
$custom: #96a01b;
$custom-light: #b9bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#96a01b",
  "rgb": {
    "r": 150,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 64.511,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67535,
    "c": 0.14469,
    "h": 114.2
  },
  "luminance": 0.31705
}

Semantic roles & 50–950 ramp

primary
#96A01B
secondary
#5B52C5
accent
#3AEE47
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #96A01B

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

Preview Lab → · Contrast checker → · Palette generator →

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