#96852D#96852D

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

Color values

HEX#96852D
RGBrgb(150, 133, 45)
HSLhsl(50, 54%, 38%)
HSVhsv(50, 70%, 59%)
CMYKcmyk(0%, 11.3%, 70%, 41.2%)
CIE-LABlab(55.53, -3.96, 47.74)
CIE-LCHlch(55.53, 47.90, 94.74°)
OKLaboklab(61.53% -0.0153 0.107)
OKLCHoklch(61.53% 0.108 98.1)
XYZxyz(21.4399, 23.4496, 5.8790)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96852D #2D3E96
analogous
#96502D #96852D #72962D
triadic
#96852D #2D9685 #852D96
tetradic
#96852D #2D9650 #2D3E96 #962D72
square
#96852D #2D9650 #2D3E96 #962D72
split-complementary
#96852D #2D7296 #502D96
monochromatic
#383211 #675B1F #96852D #C4AE3C #D3C26B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96852D#FFFFFF#000000##000000
##96852D1.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)
#928221
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#A27B73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #96852d;
/* rgb */ color: rgb(150, 133, 45);
/* oklch */ color: oklch(61.5% 0.108 98.1);
Tailwind
colors: {
  custom: {
    50: '#b8a86b',
    500: '#96852d',
    950: '#000000',
  },
}
SCSS
$custom: #96852d;
$custom-light: #b8a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#96852d",
  "rgb": {
    "r": 150,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 50.286,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61533,
    "c": 0.10812,
    "h": 98.1
  },
  "luminance": 0.23449
}

Semantic roles & 50–950 ramp

primary
#96852D
secondary
#6573B9
accent
#62DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96852D

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

Preview Lab → · Contrast checker → · Palette generator →

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