#96822F#96822F

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

Color values

HEX#96822F
RGBrgb(150, 130, 47)
HSLhsl(48, 52%, 39%)
HSVhsv(48, 69%, 59%)
CMYKcmyk(0%, 13.3%, 68.7%, 41.2%)
CIE-LABlab(54.72, -2.18, 46.02)
CIE-LCHlch(54.72, 46.07, 92.71°)
OKLaboklab(60.89% -0.01 0.1038)
OKLCHoklch(60.89% 0.104 95.5)
XYZxyz(21.0744, 22.6556, 5.9517)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96822F #2F4396
analogous
#964F2F #96822F #76962F
triadic
#96822F #2F9682 #822F96
tetradic
#96822F #2F964F #2F4396 #962F76
square
#96822F #2F964F #2F4396 #962F76
split-complementary
#96822F #2F7696 #4F2F96
monochromatic
#393112 #675A20 #96822F #C3A93F #D2BE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96822F#FFFFFF#000000##000000
##96822F1.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)
#8F7F24
Deuteranopia (green-blind)
#948633
Tritanopia (blue-blind)
#A27871
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #96822f;
/* rgb */ color: rgb(150, 130, 47);
/* oklch */ color: oklch(60.9% 0.104 95.5);
Tailwind
colors: {
  custom: {
    50: '#b8a66c',
    500: '#96822f',
    950: '#000000',
  },
}
SCSS
$custom: #96822f;
$custom-light: #b8a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#96822f",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 48.35,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60892,
    "c": 0.10423,
    "h": 95.5
  },
  "luminance": 0.22655
}

Semantic roles & 50–950 ramp

primary
#96822F
secondary
#6878B9
accent
#68DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96822F

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

Preview Lab → · Contrast checker → · Palette generator →

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