#96822D#96822D

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

Color values

HEX#96822D
RGBrgb(150, 130, 45)
HSLhsl(49, 54%, 38%)
HSVhsv(49, 70%, 59%)
CMYKcmyk(0%, 13.3%, 70%, 41.2%)
CIE-LABlab(54.70, -2.30, 46.89)
CIE-LCHlch(54.70, 46.94, 92.81°)
OKLaboklab(60.87% -0.0106 0.1052)
OKLCHoklch(60.87% 0.106 95.7)
XYZxyz(21.0350, 22.6398, 5.7441)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96822D #2D4196
analogous
#964D2D #96822D #75962D
triadic
#96822D #2D9682 #822D96
tetradic
#96822D #2D964D #2D4196 #962D75
square
#96822D #2D964D #2D4196 #962D75
split-complementary
#96822D #2D7596 #4D2D96
monochromatic
#383011 #67591F #96822D #C4AA3C #D3BF6B

Accessibility & contrast

On white

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

On black

5.53
#96822D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96822D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96822D#FFFFFF#000000##000000
##96822D1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#948632
Tritanopia (blue-blind)
#A27871
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #96822d;
/* rgb */ color: rgb(150, 130, 45);
/* oklch */ color: oklch(60.9% 0.106 95.7);
Tailwind
colors: {
  custom: {
    50: '#b8a66b',
    500: '#96822d',
    950: '#000000',
  },
}
SCSS
$custom: #96822d;
$custom-light: #b8a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#96822d",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 48.571,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60873,
    "c": 0.10575,
    "h": 95.7
  },
  "luminance": 0.22639
}

Semantic roles & 50–950 ramp

primary
#96822D
secondary
#6575B9
accent
#67DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96822D

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

Preview Lab → · Contrast checker → · Palette generator →

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