#96871E#96871E

#96871E is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.9% C 0.119 H 100.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#96871E
RGBrgb(150, 135, 30)
HSLhsl(53, 67%, 35%)
HSVhsv(53, 80%, 59%)
CMYKcmyk(0%, 10%, 80%, 41.2%)
CIE-LABlab(55.99, -5.78, 53.91)
CIE-LCHlch(55.99, 54.22, 96.12°)
OKLaboklab(61.87% -0.022 0.1172)
OKLCHoklch(61.87% 0.119 100.7)
XYZxyz(21.4771, 23.9067, 4.7112)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96871E #1E2D96
analogous
#964B1E #96871E #69961E
triadic
#96871E #1E9687 #871E96
tetradic
#96871E #1E964B #1E2D96 #961E69
square
#96871E #1E964B #1E2D96 #961E69
split-complementary
#96871E #1E6996 #4B1E96
monochromatic
#302B0A #635914 #96871E #C9B528 #DCCB52

Accessibility & contrast

On white

3.63
#96871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#96871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96871E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96871E#FFFFFF#000000##000000
##96871E1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958303
Deuteranopia (green-blind)
#998926
Tritanopia (blue-blind)
#A27D73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #96871e;
/* rgb */ color: rgb(150, 135, 30);
/* oklch */ color: oklch(61.9% 0.119 100.7);
Tailwind
colors: {
  custom: {
    50: '#b9a964',
    500: '#96871e',
    950: '#000000',
  },
}
SCSS
$custom: #96871e;
$custom-light: #b9a964;
$custom-dark: #000000;
JSON
{
  "hex": "#96871e",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 52.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61868,
    "c": 0.11925,
    "h": 100.7
  },
  "luminance": 0.23906
}

Semantic roles & 50–950 ramp

primary
#96871E
secondary
#505EBF
accent
#54EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96871E

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

Preview Lab → · Contrast checker → · Palette generator →

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