#96811E#96811E

#96811E 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.46:1 contrast (WCAG AA passes).

Color values

HEX#96811E
RGBrgb(150, 129, 30)
HSLhsl(50, 67%, 35%)
HSVhsv(50, 80%, 59%)
CMYKcmyk(0%, 14%, 80%, 41.2%)
CIE-LABlab(54.32, -2.47, 52.41)
CIE-LCHlch(54.32, 52.46, 92.69°)
OKLaboklab(60.54% -0.0127 0.114)
OKLCHoklch(60.54% 0.115 96.4)
XYZxyz(20.6634, 22.2794, 4.4400)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96811E #1E3396
analogous
#96451E #96811E #6F961E
triadic
#96811E #1E9681 #811E96
tetradic
#96811E #1E9645 #1E3396 #961E6F
square
#96811E #1E9645 #1E3396 #961E6F
split-complementary
#96811E #1E6F96 #451E96
monochromatic
#30290A #635514 #96811E #C9AD28 #DCC452

Accessibility & contrast

On white

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

On black

5.46
#96811E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96811E
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96811E#FFFFFF#000000##000000
##96811E1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#948525
Tritanopia (blue-blind)
#A2766E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #96811e;
/* rgb */ color: rgb(150, 129, 30);
/* oklch */ color: oklch(60.5% 0.115 96.4);
Tailwind
colors: {
  custom: {
    50: '#b9a563',
    500: '#96811e',
    950: '#000000',
  },
}
SCSS
$custom: #96811e;
$custom-light: #b9a563;
$custom-dark: #000000;
JSON
{
  "hex": "#96811e",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 49.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60543,
    "c": 0.11465,
    "h": 96.4
  },
  "luminance": 0.22278
}

Semantic roles & 50–950 ramp

primary
#96811E
secondary
#5064BF
accent
#5CEA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96811E

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

Preview Lab → · Contrast checker → · Palette generator →

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