#96811C#96811C

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

Color values

HEX#96811C
RGBrgb(150, 129, 28)
HSLhsl(50, 69%, 35%)
HSVhsv(50, 81%, 59%)
CMYKcmyk(0%, 14%, 81.3%, 41.2%)
CIE-LABlab(54.31, -2.54, 53.07)
CIE-LCHlch(54.31, 53.13, 92.74°)
OKLaboklab(60.53% -0.0131 0.115)
OKLCHoklch(60.53% 0.116 96.5)
XYZxyz(20.6387, 22.2695, 4.3098)
Luminance0.2227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96811C #1C3196
analogous
#96441C #96811C #6E961C
triadic
#96811C #1C9681 #811C96
tetradic
#96811C #1C9644 #1C3196 #961C6E
square
#96811C #1C9644 #1C3196 #961C6E
split-complementary
#96811C #1C6E96 #441C96
monochromatic
#2F2809 #625512 #96811C #CAAD26 #DEC54E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96811C#FFFFFF#000000##000000
##96811C1.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)
#8F7E02
Deuteranopia (green-blind)
#948523
Tritanopia (blue-blind)
#A3766E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #96811c;
/* rgb */ color: rgb(150, 129, 28);
/* oklch */ color: oklch(60.5% 0.116 96.5);
Tailwind
colors: {
  custom: {
    50: '#b9a562',
    500: '#96811c',
    950: '#000000',
  },
}
SCSS
$custom: #96811c;
$custom-light: #b9a562;
$custom-dark: #000000;
JSON
{
  "hex": "#96811c",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 49.672,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60531,
    "c": 0.11569,
    "h": 96.5
  },
  "luminance": 0.22268
}

Semantic roles & 50–950 ramp

primary
#96811C
secondary
#4D61C1
accent
#5BEB3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #96811C

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

Preview Lab → · Contrast checker → · Palette generator →

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