#96862F#96862F

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

Color values

HEX#96862F
RGBrgb(150, 134, 47)
HSLhsl(51, 52%, 39%)
HSVhsv(51, 69%, 59%)
CMYKcmyk(0%, 10.7%, 68.7%, 41.2%)
CIE-LABlab(55.83, -4.40, 47.18)
CIE-LCHlch(55.83, 47.38, 95.32°)
OKLaboklab(61.77% -0.0163 0.1062)
OKLCHoklch(61.77% 0.107 98.7)
XYZxyz(21.6168, 23.7405, 6.1325)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96862F #2F3F96
analogous
#96522F #96862F #72962F
triadic
#96862F #2F9686 #862F96
tetradic
#96862F #2F9652 #2F3F96 #962F72
square
#96862F #2F9652 #2F3F96 #962F72
split-complementary
#96862F #2F7296 #522F96
monochromatic
#393312 #675C20 #96862F #C3AE3F #D2C26E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96862F#FFFFFF#000000##000000
##96862F1.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)
#938324
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#A27C74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #96862f;
/* rgb */ color: rgb(150, 134, 47);
/* oklch */ color: oklch(61.8% 0.107 98.7);
Tailwind
colors: {
  custom: {
    50: '#b8a86c',
    500: '#96862f',
    950: '#000000',
  },
}
SCSS
$custom: #96862f;
$custom-light: #b8a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#96862f",
  "rgb": {
    "r": 150,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 50.68,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.10743,
    "h": 98.7
  },
  "luminance": 0.23739
}

Semantic roles & 50–950 ramp

primary
#96862F
secondary
#6874B9
accent
#62DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96862F

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

Preview Lab → · Contrast checker → · Palette generator →

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