#96802A#96802A

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

Color values

HEX#96802A
RGBrgb(150, 128, 42)
HSLhsl(48, 56%, 38%)
HSVhsv(48, 72%, 59%)
CMYKcmyk(0%, 14.7%, 72%, 41.2%)
CIE-LABlab(54.12, -1.35, 47.59)
CIE-LCHlch(54.12, 47.61, 91.63°)
OKLaboklab(60.41% -0.0082 0.1062)
OKLCHoklch(60.41% 0.106 94.4)
XYZxyz(20.7158, 22.0907, 5.3628)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96802A #2A4096
analogous
#964A2A #96802A #76962A
triadic
#96802A #2A9680 #802A96
tetradic
#96802A #2A964A #2A4096 #962A76
square
#96802A #2A964A #2A4096 #962A76
split-complementary
#96802A #2A7696 #4A2A96
monochromatic
#362E0F #66571D #96802A #C6A937 #D4BE66

Accessibility & contrast

On white

3.88
#96802A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##96802A#FFFFFF#000000##000000
##96802A1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1E
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#A2766F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #96802a;
/* rgb */ color: rgb(150, 128, 42);
/* oklch */ color: oklch(60.4% 0.106 94.4);
Tailwind
colors: {
  custom: {
    50: '#b8a469',
    500: '#96802a',
    950: '#000000',
  },
}
SCSS
$custom: #96802a;
$custom-light: #b8a469;
$custom-dark: #000000;
JSON
{
  "hex": "#96802a",
  "rgb": {
    "r": 150,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 47.778,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6041,
    "c": 0.10648,
    "h": 94.4
  },
  "luminance": 0.2209
}

Semantic roles & 50–950 ramp

primary
#96802A
secondary
#6174BA
accent
#67E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96802A

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

Preview Lab → · Contrast checker → · Palette generator →

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