#96841E#96841E

#96841E is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.2% C 0.117 H 98.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#96841E
RGBrgb(150, 132, 30)
HSLhsl(51, 67%, 35%)
HSVhsv(51, 80%, 59%)
CMYKcmyk(0%, 12%, 80%, 41.2%)
CIE-LABlab(55.16, -4.13, 53.16)
CIE-LCHlch(55.16, 53.32, 94.44°)
OKLaboklab(61.2% -0.0174 0.1156)
OKLCHoklch(61.2% 0.117 98.6)
XYZxyz(21.0644, 23.0814, 4.5737)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96841E #1E3096
analogous
#96481E #96841E #6C961E
triadic
#96841E #1E9684 #841E96
tetradic
#96841E #1E9648 #1E3096 #961E6C
square
#96841E #1E9648 #1E3096 #961E6C
split-complementary
#96841E #1E6C96 #481E96
monochromatic
#302A0A #635714 #96841E #C9B128 #DCC852

Accessibility & contrast

On white

3.74
#96841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#96841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96841E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96841E#FFFFFF#000000##000000
##96841E1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928005
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#A27971
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #96841e;
/* rgb */ color: rgb(150, 132, 30);
/* oklch */ color: oklch(61.2% 0.117 98.6);
Tailwind
colors: {
  custom: {
    50: '#b9a763',
    500: '#96841e',
    950: '#000000',
  },
}
SCSS
$custom: #96841e;
$custom-light: #b9a763;
$custom-dark: #000000;
JSON
{
  "hex": "#96841e",
  "rgb": {
    "r": 150,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 51,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61203,
    "c": 0.11687,
    "h": 98.6
  },
  "luminance": 0.2308
}

Semantic roles & 50–950 ramp

primary
#96841E
secondary
#5061BF
accent
#58EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96841E

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

Preview Lab → · Contrast checker → · Palette generator →

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