#96851B#96851B

#96851B is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.4% C 0.119 H 99.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#96851B
RGBrgb(150, 133, 27)
HSLhsl(52, 69%, 35%)
HSVhsv(52, 82%, 59%)
CMYKcmyk(0%, 11.3%, 82%, 41.2%)
CIE-LABlab(55.42, -4.79, 54.37)
CIE-LCHlch(55.42, 54.58, 95.03°)
OKLaboklab(61.41% -0.0195 0.1175)
OKLCHoklch(61.41% 0.119 99.4)
XYZxyz(21.1641, 23.3393, 4.4269)
Luminance0.2334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96851B #1B2C96
analogous
#96471B #96851B #6A961B
triadic
#96851B #1B9685 #851B96
tetradic
#96851B #1B9647 #1B2C96 #961B6A
square
#96851B #1B9647 #1B2C96 #961B6A
split-complementary
#96851B #1B6A96 #471B96
monochromatic
#2E2908 #625712 #96851B #CAB324 #DFCB4D

Accessibility & contrast

On white

3.71
#96851B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#96851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96851B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96851B#FFFFFF#000000##000000
##96851B1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#A27A72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #96851b;
/* rgb */ color: rgb(150, 133, 27);
/* oklch */ color: oklch(61.4% 0.119 99.4);
Tailwind
colors: {
  custom: {
    50: '#b9a862',
    500: '#96851b',
    950: '#000000',
  },
}
SCSS
$custom: #96851b;
$custom-light: #b9a862;
$custom-dark: #000000;
JSON
{
  "hex": "#96851b",
  "rgb": {
    "r": 150,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 51.707,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61408,
    "c": 0.11915,
    "h": 99.4
  },
  "luminance": 0.23338
}

Semantic roles & 50–950 ramp

primary
#96851B
secondary
#4C5CC1
accent
#54EC3B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96851B

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

Preview Lab → · Contrast checker → · Palette generator →

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