#96802F#96802F

#96802F is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.5% C 0.103 H 93.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#96802F
RGBrgb(150, 128, 47)
HSLhsl(47, 52%, 39%)
HSVhsv(47, 69%, 59%)
CMYKcmyk(0%, 14.7%, 68.7%, 41.2%)
CIE-LABlab(54.16, -1.07, 45.44)
CIE-LCHlch(54.16, 45.46, 91.34°)
OKLaboklab(60.46% -0.0068 0.1025)
OKLCHoklch(60.46% 0.103 93.8)
XYZxyz(20.8110, 22.1287, 5.8639)
Luminance0.2213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96802F #2F4596
analogous
#964C2F #96802F #78962F
triadic
#96802F #2F9680 #802F96
tetradic
#96802F #2F964C #2F4596 #962F78
square
#96802F #2F964C #2F4596 #962F78
split-complementary
#96802F #2F7896 #4C2F96
monochromatic
#393012 #675820 #96802F #C3A73F #D2BC6E

Accessibility & contrast

On white

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

On black

5.43
#96802F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96802F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96802F#FFFFFF#000000##000000
##96802F1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96802f;
/* rgb */ color: rgb(150, 128, 47);
/* oklch */ color: oklch(60.5% 0.103 93.8);
Tailwind
colors: {
  custom: {
    50: '#b8a46c',
    500: '#96802f',
    950: '#000000',
  },
}
SCSS
$custom: #96802f;
$custom-light: #b8a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#96802f",
  "rgb": {
    "r": 150,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 47.184,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60455,
    "c": 0.10275,
    "h": 93.8
  },
  "luminance": 0.22128
}

Semantic roles & 50–950 ramp

primary
#96802F
secondary
#6879B9
accent
#6BDC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96802F

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

Preview Lab → · Contrast checker → · Palette generator →

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