#96802E#96802E

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

Color values

HEX#96802E
RGBrgb(150, 128, 46)
HSLhsl(47, 53%, 38%)
HSVhsv(47, 69%, 59%)
CMYKcmyk(0%, 14.7%, 69.3%, 41.2%)
CIE-LABlab(54.15, -1.13, 45.88)
CIE-LCHlch(54.15, 45.90, 91.41°)
OKLaboklab(60.45% -0.0071 0.1033)
OKLCHoklch(60.45% 0.104 93.9)
XYZxyz(20.7910, 22.1208, 5.7589)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96802E #2E4496
analogous
#964C2E #96802E #78962E
triadic
#96802E #2E9680 #802E96
tetradic
#96802E #2E964C #2E4496 #962E78
square
#96802E #2E964C #2E4496 #962E78
split-complementary
#96802E #2E7896 #4C2E96
monochromatic
#383011 #675820 #96802E #C4A73E #D2BD6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96802E#FFFFFF#000000##000000
##96802E1.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)
#8D7E23
Deuteranopia (green-blind)
#938432
Tritanopia (blue-blind)
#A2766F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #96802e;
/* rgb */ color: rgb(150, 128, 46);
/* oklch */ color: oklch(60.4% 0.104 93.9);
Tailwind
colors: {
  custom: {
    50: '#b8a46b',
    500: '#96802e',
    950: '#000000',
  },
}
SCSS
$custom: #96802e;
$custom-light: #b8a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#96802e",
  "rgb": {
    "r": 150,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 47.308,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60445,
    "c": 0.10352,
    "h": 93.9
  },
  "luminance": 0.2212
}

Semantic roles & 50–950 ramp

primary
#96802E
secondary
#6778B9
accent
#6ADC4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96802E

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

Preview Lab → · Contrast checker → · Palette generator →

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