#96852B#96852B

#96852B is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.5% C 0.110 H 98.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#96852B
RGBrgb(150, 133, 43)
HSLhsl(50, 55%, 38%)
HSVhsv(50, 71%, 59%)
CMYKcmyk(0%, 11.3%, 71.3%, 41.2%)
CIE-LABlab(55.52, -4.07, 48.57)
CIE-LCHlch(55.52, 48.74, 94.79°)
OKLaboklab(61.52% -0.0159 0.1084)
OKLCHoklch(61.52% 0.11 98.3)
XYZxyz(21.4023, 23.4345, 5.6810)
Luminance0.2343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96852B #2B3C96
analogous
#964F2B #96852B #71962B
triadic
#96852B #2B9685 #852B96
tetradic
#96852B #2B964F #2B3C96 #962B71
square
#96852B #2B964F #2B3C96 #962B71
split-complementary
#96852B #2B7196 #4F2B96
monochromatic
#373110 #665B1D #96852B #C6AF39 #D4C368

Accessibility & contrast

On white

3.69
#96852B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#96852B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96852B
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96852B#FFFFFF#000000##000000
##96852B1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821E
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#A27B73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #96852b;
/* rgb */ color: rgb(150, 133, 43);
/* oklch */ color: oklch(61.5% 0.110 98.3);
Tailwind
colors: {
  custom: {
    50: '#b8a86a',
    500: '#96852b',
    950: '#000000',
  },
}
SCSS
$custom: #96852b;
$custom-light: #b8a86a;
$custom-dark: #000000;
JSON
{
  "hex": "#96852b",
  "rgb": {
    "r": 150,
    "g": 133,
    "b": 43
  },
  "hsl": {
    "h": 50.467,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61516,
    "c": 0.10957,
    "h": 98.3
  },
  "luminance": 0.23434
}

Semantic roles & 50–950 ramp

primary
#96852B
secondary
#6371BA
accent
#61DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96852B

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

Preview Lab → · Contrast checker → · Palette generator →

#96852B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva