#96802B#96802B

#96802B is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.4% C 0.106 H 94.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#96802B
RGBrgb(150, 128, 43)
HSLhsl(48, 55%, 38%)
HSVhsv(48, 71%, 59%)
CMYKcmyk(0%, 14.7%, 71.3%, 41.2%)
CIE-LABlab(54.13, -1.30, 47.17)
CIE-LCHlch(54.13, 47.19, 91.58°)
OKLaboklab(60.42% -0.0079 0.1055)
OKLCHoklch(60.42% 0.106 94.3)
XYZxyz(20.7339, 22.0979, 5.4583)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96802B #2B4196
analogous
#964B2B #96802B #76962B
triadic
#96802B #2B9680 #802B96
tetradic
#96802B #2B964B #2B4196 #962B76
square
#96802B #2B964B #2B4196 #962B76
split-complementary
#96802B #2B7696 #4B2B96
monochromatic
#372F10 #66571D #96802B #C6A939 #D4BD68

Accessibility & contrast

On white

3.87
#96802B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#96802B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96802B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96802B#FFFFFF#000000##000000
##96802B1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#A2766F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #96802b;
/* rgb */ color: rgb(150, 128, 43);
/* oklch */ color: oklch(60.4% 0.106 94.3);
Tailwind
colors: {
  custom: {
    50: '#b8a46a',
    500: '#96802b',
    950: '#000000',
  },
}
SCSS
$custom: #96802b;
$custom-light: #b8a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#96802b",
  "rgb": {
    "r": 150,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 47.664,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60419,
    "c": 0.10576,
    "h": 94.3
  },
  "luminance": 0.22097
}

Semantic roles & 50–950 ramp

primary
#96802B
secondary
#6375BA
accent
#68DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96802B

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

Preview Lab → · Contrast checker → · Palette generator →

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