#96811D#96811D

#96811D is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.5% C 0.115 H 96.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#96811D
RGBrgb(150, 129, 29)
HSLhsl(50, 68%, 35%)
HSVhsv(50, 81%, 59%)
CMYKcmyk(0%, 14%, 80.7%, 41.2%)
CIE-LABlab(54.32, -2.50, 52.74)
CIE-LCHlch(54.32, 52.80, 92.72°)
OKLaboklab(60.54% -0.0129 0.1145)
OKLCHoklch(60.54% 0.115 96.4)
XYZxyz(20.6508, 22.2744, 4.3738)
Luminance0.2227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96811D #1D3296
analogous
#96451D #96811D #6E961D
triadic
#96811D #1D9681 #811D96
tetradic
#96811D #1D9645 #1D3296 #961D6E
square
#96811D #1D9645 #1D3296 #961D6E
split-complementary
#96811D #1D6E96 #451D96
monochromatic
#2F2909 #635513 #96811D #C9AD27 #DDC550

Accessibility & contrast

On white

3.85
#96811D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#96811D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96811D
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96811D#FFFFFF#000000##000000
##96811D1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E04
Deuteranopia (green-blind)
#948524
Tritanopia (blue-blind)
#A3766E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #96811d;
/* rgb */ color: rgb(150, 129, 29);
/* oklch */ color: oklch(60.5% 0.115 96.4);
Tailwind
colors: {
  custom: {
    50: '#b9a562',
    500: '#96811d',
    950: '#000000',
  },
}
SCSS
$custom: #96811d;
$custom-light: #b9a562;
$custom-dark: #000000;
JSON
{
  "hex": "#96811d",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 49.587,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.11518,
    "h": 96.4
  },
  "luminance": 0.22273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #96811D

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

Preview Lab → · Contrast checker → · Palette generator →

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