#96802D#96802D

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

Color values

HEX#96802D
RGBrgb(150, 128, 45)
HSLhsl(47, 54%, 38%)
HSVhsv(47, 70%, 59%)
CMYKcmyk(0%, 14.7%, 70%, 41.2%)
CIE-LABlab(54.15, -1.19, 46.32)
CIE-LCHlch(54.15, 46.33, 91.47°)
OKLaboklab(60.44% -0.0074 0.104)
OKLCHoklch(60.44% 0.104 94)
XYZxyz(20.7715, 22.1130, 5.6563)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96802D #2D4396
analogous
#964C2D #96802D #77962D
triadic
#96802D #2D9680 #802D96
tetradic
#96802D #2D964C #2D4396 #962D77
square
#96802D #2D964C #2D4396 #962D77
split-complementary
#96802D #2D7796 #4C2D96
monochromatic
#383011 #67581F #96802D #C4A83C #D3BD6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96802D#FFFFFF#000000##000000
##96802D1.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)
#8D7E22
Deuteranopia (green-blind)
#938431
Tritanopia (blue-blind)
#A2766F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #96802d;
/* rgb */ color: rgb(150, 128, 45);
/* oklch */ color: oklch(60.4% 0.104 94.0);
Tailwind
colors: {
  custom: {
    50: '#b8a46b',
    500: '#96802d',
    950: '#000000',
  },
}
SCSS
$custom: #96802d;
$custom-light: #b8a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#96802d",
  "rgb": {
    "r": 150,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 47.429,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60436,
    "c": 0.10428,
    "h": 94
  },
  "luminance": 0.22112
}

Semantic roles & 50–950 ramp

primary
#96802D
secondary
#6577B9
accent
#69DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96802D

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

Preview Lab → · Contrast checker → · Palette generator →

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