#96961B#96961B

#96961B is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.2% C 0.134 H 109.6°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#96961B
RGBrgb(150, 150, 27)
HSLhsl(60, 69%, 35%)
HSVhsv(60, 82%, 59%)
CMYKcmyk(0%, 0%, 82%, 41.2%)
CIE-LABlab(60.23, -13.94, 58.56)
CIE-LCHlch(60.23, 60.19, 103.39°)
OKLaboklab(65.24% -0.0451 0.1266)
OKLCHoklch(65.24% 0.134 109.6)
XYZxyz(23.6828, 28.3766, 5.2664)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96961B #1B1B96
analogous
#96591B #96961B #59961B
triadic
#96961B #1B9696 #961B96
tetradic
#96961B #1B9659 #1B1B96 #961B59
square
#96961B #1B9659 #1B1B96 #961B59
split-complementary
#96961B #1B5996 #591B96
monochromatic
#2E2E08 #626212 #96961B #CACA24 #DFDF4D

Accessibility & contrast

On white

3.15
#96961B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#96961B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96961B
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96961B#FFFFFF#000000##000000
##96961B1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A49327
Tritanopia (blue-blind)
#A18C80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #96961b;
/* rgb */ color: rgb(150, 150, 27);
/* oklch */ color: oklch(65.2% 0.134 109.6);
Tailwind
colors: {
  custom: {
    50: '#b9b464',
    500: '#96961b',
    950: '#000000',
  },
}
SCSS
$custom: #96961b;
$custom-light: #b9b464;
$custom-dark: #000000;
JSON
{
  "hex": "#96961b",
  "rgb": {
    "r": 150,
    "g": 150,
    "b": 27
  },
  "hsl": {
    "h": 60,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.65236,
    "c": 0.13438,
    "h": 109.6
  },
  "luminance": 0.28376
}

Semantic roles & 50–950 ramp

primary
#96961B
secondary
#4C4CC1
accent
#3BEC3B
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #96961B

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

Preview Lab → · Contrast checker → · Palette generator →

#96961B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva