#96862E#96862E

#96862E is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.8% C 0.108 H 98.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#96862E
RGBrgb(150, 134, 46)
HSLhsl(51, 53%, 38%)
HSVhsv(51, 69%, 59%)
CMYKcmyk(0%, 10.7%, 69.3%, 41.2%)
CIE-LABlab(55.82, -4.46, 47.60)
CIE-LCHlch(55.82, 47.81, 95.35°)
OKLaboklab(61.76% -0.0166 0.1069)
OKLCHoklch(61.76% 0.108 98.8)
XYZxyz(21.5969, 23.7325, 6.0275)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96862E #2E3E96
analogous
#96522E #96862E #72962E
triadic
#96862E #2E9686 #862E96
tetradic
#96862E #2E9652 #2E3E96 #962E72
square
#96862E #2E9652 #2E3E96 #962E72
split-complementary
#96862E #2E7296 #522E96
monochromatic
#383211 #675C20 #96862E #C4AF3E #D2C26C

Accessibility & contrast

On white

3.65
#96862E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#96862E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96862E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96862E#FFFFFF#000000##000000
##96862E1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938222
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#A27C74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #96862e;
/* rgb */ color: rgb(150, 134, 46);
/* oklch */ color: oklch(61.8% 0.108 98.8);
Tailwind
colors: {
  custom: {
    50: '#b8a86c',
    500: '#96862e',
    950: '#000000',
  },
}
SCSS
$custom: #96862e;
$custom-light: #b8a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#96862e",
  "rgb": {
    "r": 150,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 50.769,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61763,
    "c": 0.1082,
    "h": 98.8
  },
  "luminance": 0.23731
}

Semantic roles & 50–950 ramp

primary
#96862E
secondary
#6773B9
accent
#62DC4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96862E

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

Preview Lab → · Contrast checker → · Palette generator →

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