#96802C#96802C

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

Color values

HEX#96802C
RGBrgb(150, 128, 44)
HSLhsl(48, 55%, 38%)
HSVhsv(48, 71%, 59%)
CMYKcmyk(0%, 14.7%, 70.7%, 41.2%)
CIE-LABlab(54.14, -1.24, 46.75)
CIE-LCHlch(54.14, 46.76, 91.52°)
OKLaboklab(60.43% -0.0076 0.1048)
OKLCHoklch(60.43% 0.105 94.2)
XYZxyz(20.7525, 22.1054, 5.5561)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96802C #2C4296
analogous
#964B2C #96802C #77962C
triadic
#96802C #2C9680 #802C96
tetradic
#96802C #2C964B #2C4296 #962C77
square
#96802C #2C964B #2C4296 #962C77
split-complementary
#96802C #2C7796 #4B2C96
monochromatic
#372F10 #67581E #96802C #C5A83A #D3BD69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96802C#FFFFFF#000000##000000
##96802C1.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)
#8E7E21
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#A2766F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #96802c;
/* rgb */ color: rgb(150, 128, 44);
/* oklch */ color: oklch(60.4% 0.105 94.2);
Tailwind
colors: {
  custom: {
    50: '#b8a46a',
    500: '#96802c',
    950: '#000000',
  },
}
SCSS
$custom: #96802c;
$custom-light: #b8a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#96802c",
  "rgb": {
    "r": 150,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 47.547,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60427,
    "c": 0.10503,
    "h": 94.2
  },
  "luminance": 0.22104
}

Semantic roles & 50–950 ramp

primary
#96802C
secondary
#6476BA
accent
#69DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96802C

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

Preview Lab → · Contrast checker → · Palette generator →

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