#96822B#96822B

#96822B is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.107 H 96.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#96822B
RGBrgb(150, 130, 43)
HSLhsl(49, 55%, 38%)
HSVhsv(49, 71%, 59%)
CMYKcmyk(0%, 13.3%, 71.3%, 41.2%)
CIE-LABlab(54.68, -2.41, 47.73)
CIE-LCHlch(54.68, 47.79, 92.89°)
OKLaboklab(60.86% -0.0111 0.1066)
OKLCHoklch(60.86% 0.107 96)
XYZxyz(20.9974, 22.6248, 5.5461)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96822B #2B3F96
analogous
#964C2B #96822B #74962B
triadic
#96822B #2B9682 #822B96
tetradic
#96822B #2B964C #2B3F96 #962B74
square
#96822B #2B964C #2B3F96 #962B74
split-complementary
#96822B #2B7496 #4C2B96
monochromatic
#373010 #66591D #96822B #C6AB39 #D4BF68

Accessibility & contrast

On white

3.80
#96822B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#96822B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96822B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96822B#FFFFFF#000000##000000
##96822B1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #96822b;
/* rgb */ color: rgb(150, 130, 43);
/* oklch */ color: oklch(60.9% 0.107 96.0);
Tailwind
colors: {
  custom: {
    50: '#b8a66a',
    500: '#96822b',
    950: '#000000',
  },
}
SCSS
$custom: #96822b;
$custom-light: #b8a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#96822b",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 48.785,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60856,
    "c": 0.10722,
    "h": 96
  },
  "luminance": 0.22624
}

Semantic roles & 50–950 ramp

primary
#96822B
secondary
#6373BA
accent
#65DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96822B

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

Preview Lab → · Contrast checker → · Palette generator →

#96822B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva