#96862A#96862A

#96862A is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.7% C 0.111 H 99.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#96862A
RGBrgb(150, 134, 42)
HSLhsl(51, 56%, 38%)
HSVhsv(51, 72%, 59%)
CMYKcmyk(0%, 10.7%, 72%, 41.2%)
CIE-LABlab(55.79, -4.68, 49.26)
CIE-LCHlch(55.79, 49.48, 95.43°)
OKLaboklab(61.73% -0.0177 0.1097)
OKLCHoklch(61.73% 0.111 99.2)
XYZxyz(21.5217, 23.7024, 5.6314)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96862A #2A3A96
analogous
#96502A #96862A #70962A
triadic
#96862A #2A9686 #862A96
tetradic
#96862A #2A9650 #2A3A96 #962A70
square
#96862A #2A9650 #2A3A96 #962A70
split-complementary
#96862A #2A7096 #502A96
monochromatic
#36310F #665B1D #96862A #C6B137 #D4C466

Accessibility & contrast

On white

3.66
#96862A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#96862A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96862A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96862A#FFFFFF#000000##000000
##96862A1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821C
Deuteranopia (green-blind)
#988830
Tritanopia (blue-blind)
#A27C74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #96862a;
/* rgb */ color: rgb(150, 134, 42);
/* oklch */ color: oklch(61.7% 0.111 99.2);
Tailwind
colors: {
  custom: {
    50: '#b8a86a',
    500: '#96862a',
    950: '#000000',
  },
}
SCSS
$custom: #96862a;
$custom-light: #b8a86a;
$custom-dark: #000000;
JSON
{
  "hex": "#96862a",
  "rgb": {
    "r": 150,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 51.111,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61729,
    "c": 0.1111,
    "h": 99.2
  },
  "luminance": 0.23701
}

Semantic roles & 50–950 ramp

primary
#96862A
secondary
#616FBA
accent
#5FE048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96862A

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

Preview Lab → · Contrast checker → · Palette generator →

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