#96A11B#96A11B

#96A11B is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.8% C 0.146 H 114.7°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#96A11B
RGBrgb(150, 161, 27)
HSLhsl(65, 71%, 37%)
HSVhsv(65, 83%, 63%)
CMYKcmyk(6.8%, 0%, 83.2%, 36.9%)
CIE-LABlab(63.39, -19.62, 61.28)
CIE-LCHlch(63.39, 64.34, 107.75°)
OKLaboklab(67.77% -0.0608 0.1325)
OKLCHoklch(67.77% 0.146 114.7)
XYZxyz(25.5212, 32.0534, 5.8792)
Luminance0.3205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A11B #261BA1
analogous
#A1691B #96A11B #53A11B
triadic
#96A11B #1B96A1 #A11B96
tetradic
#96A11B #1BA169 #261BA1 #A11B53
square
#96A11B #1BA169 #261BA1 #A11B53
split-complementary
#96A11B #1B53A1 #691BA1
monochromatic
#343809 #656D12 #96A11B #C7D524 #D7E254

Accessibility & contrast

On white

2.83
#96A11B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#96A11B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A11B
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A11B#FFFFFF#000000##000000
##96A11B1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AD9B29
Tritanopia (blue-blind)
#A09789
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #96a11b;
/* rgb */ color: rgb(150, 161, 27);
/* oklch */ color: oklch(67.8% 0.146 114.7);
Tailwind
colors: {
  custom: {
    50: '#b9bc66',
    500: '#96a11b',
    950: '#000000',
  },
}
SCSS
$custom: #96a11b;
$custom-light: #b9bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#96a11b",
  "rgb": {
    "r": 150,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 64.925,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67767,
    "c": 0.14576,
    "h": 114.7
  },
  "luminance": 0.32053
}

Semantic roles & 50–950 ramp

primary
#96A11B
secondary
#5C52C5
accent
#3AEE49
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #96A11B

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

Preview Lab → · Contrast checker → · Palette generator →

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