#96822A#96822A

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

Color values

HEX#96822A
RGBrgb(150, 130, 42)
HSLhsl(49, 56%, 38%)
HSVhsv(49, 72%, 59%)
CMYKcmyk(0%, 13.3%, 72%, 41.2%)
CIE-LABlab(54.68, -2.47, 48.15)
CIE-LCHlch(54.68, 48.21, 92.93°)
OKLaboklab(60.85% -0.0114 0.1073)
OKLCHoklch(60.85% 0.108 96.1)
XYZxyz(20.9793, 22.6176, 5.4506)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96822A #2A3E96
analogous
#964C2A #96822A #74962A
triadic
#96822A #2A9682 #822A96
tetradic
#96822A #2A964C #2A3E96 #962A74
square
#96822A #2A964C #2A3E96 #962A74
split-complementary
#96822A #2A7496 #4C2A96
monochromatic
#362F0F #66591D #96822A #C6AB37 #D4C066

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96822A#FFFFFF#000000##000000
##96822A1.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)
#8F7F1D
Deuteranopia (green-blind)
#95862F
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #96822a;
/* rgb */ color: rgb(150, 130, 42);
/* oklch */ color: oklch(60.8% 0.108 96.1);
Tailwind
colors: {
  custom: {
    50: '#b8a669',
    500: '#96822a',
    950: '#000000',
  },
}
SCSS
$custom: #96822a;
$custom-light: #b8a669;
$custom-dark: #000000;
JSON
{
  "hex": "#96822a",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 48.889,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60848,
    "c": 0.10793,
    "h": 96.1
  },
  "luminance": 0.22616
}

Semantic roles & 50–950 ramp

primary
#96822A
secondary
#6172BA
accent
#64E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96822A

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

Preview Lab → · Contrast checker → · Palette generator →

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