#96821D#96821D

#96821D is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.116 H 97.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#96821D
RGBrgb(150, 130, 29)
HSLhsl(50, 68%, 35%)
HSVhsv(50, 81%, 59%)
CMYKcmyk(0%, 13.3%, 80.7%, 41.2%)
CIE-LABlab(54.59, -3.06, 52.99)
CIE-LCHlch(54.59, 53.08, 93.30°)
OKLaboklab(60.76% -0.0145 0.115)
OKLCHoklch(60.76% 0.116 97.2)
XYZxyz(20.7832, 22.5391, 4.4179)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96821D #1D3196
analogous
#96461D #96821D #6D961D
triadic
#96821D #1D9682 #821D96
tetradic
#96821D #1D9646 #1D3196 #961D6D
square
#96821D #1D9646 #1D3196 #961D6D
split-complementary
#96821D #1D6D96 #461D96
monochromatic
#2F2909 #635613 #96821D #C9AE27 #DDC650

Accessibility & contrast

On white

3.81
#96821D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#96821D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96821D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96821D#FFFFFF#000000##000000
##96821D1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#A2776F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #96821d;
/* rgb */ color: rgb(150, 130, 29);
/* oklch */ color: oklch(60.8% 0.116 97.2);
Tailwind
colors: {
  custom: {
    50: '#b9a563',
    500: '#96821d',
    950: '#000000',
  },
}
SCSS
$custom: #96821d;
$custom-light: #b9a563;
$custom-dark: #000000;
JSON
{
  "hex": "#96821d",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 50.083,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60757,
    "c": 0.1159,
    "h": 97.2
  },
  "luminance": 0.22538
}

Semantic roles & 50–950 ramp

primary
#96821D
secondary
#4F62C0
accent
#5AEA3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96821D

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

Preview Lab → · Contrast checker → · Palette generator →

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