#96821E#96821E

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

Color values

HEX#96821E
RGBrgb(150, 130, 30)
HSLhsl(50, 67%, 35%)
HSVhsv(50, 80%, 59%)
CMYKcmyk(0%, 13.3%, 80%, 41.2%)
CIE-LABlab(54.60, -3.02, 52.66)
CIE-LCHlch(54.60, 52.74, 93.28°)
OKLaboklab(60.76% -0.0143 0.1145)
OKLCHoklch(60.76% 0.115 97.1)
XYZxyz(20.7958, 22.5442, 4.4841)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96821E #1E3296
analogous
#96461E #96821E #6E961E
triadic
#96821E #1E9682 #821E96
tetradic
#96821E #1E9646 #1E3296 #961E6E
square
#96821E #1E9646 #1E3296 #961E6E
split-complementary
#96821E #1E6E96 #461E96
monochromatic
#302A0A #635614 #96821E #C9AE28 #DCC552

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96821E#FFFFFF#000000##000000
##96821E1.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)
#907F06
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#A2776F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #96821e;
/* rgb */ color: rgb(150, 130, 30);
/* oklch */ color: oklch(60.8% 0.115 97.1);
Tailwind
colors: {
  custom: {
    50: '#b9a563',
    500: '#96821e',
    950: '#000000',
  },
}
SCSS
$custom: #96821e;
$custom-light: #b9a563;
$custom-dark: #000000;
JSON
{
  "hex": "#96821e",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 50,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60763,
    "c": 0.11538,
    "h": 97.1
  },
  "luminance": 0.22543
}

Semantic roles & 50–950 ramp

primary
#96821E
secondary
#5063BF
accent
#5BEA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96821E

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

Preview Lab → · Contrast checker → · Palette generator →

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