#96852F#96852F

#96852F is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.6% C 0.107 H 97.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#96852F
RGBrgb(150, 133, 47)
HSLhsl(50, 52%, 39%)
HSVhsv(50, 69%, 59%)
CMYKcmyk(0%, 11.3%, 68.7%, 41.2%)
CIE-LABlab(55.55, -3.85, 46.89)
CIE-LCHlch(55.55, 47.04, 94.69°)
OKLaboklab(61.55% -0.0147 0.1056)
OKLCHoklch(61.55% 0.107 97.9)
XYZxyz(21.4793, 23.4654, 6.0867)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96852F #2F4096
analogous
#96512F #96852F #73962F
triadic
#96852F #2F9685 #852F96
tetradic
#96852F #2F9651 #2F4096 #962F73
square
#96852F #2F9651 #2F4096 #962F73
split-complementary
#96852F #2F7396 #512F96
monochromatic
#393212 #675C20 #96852F #C3AD3F #D2C16E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96852F#FFFFFF#000000##000000
##96852F1.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)
#928224
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#A27B73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #96852f;
/* rgb */ color: rgb(150, 133, 47);
/* oklch */ color: oklch(61.6% 0.107 97.9);
Tailwind
colors: {
  custom: {
    50: '#b8a86c',
    500: '#96852f',
    950: '#000000',
  },
}
SCSS
$custom: #96852f;
$custom-light: #b8a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#96852f",
  "rgb": {
    "r": 150,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 50.097,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61551,
    "c": 0.1066,
    "h": 97.9
  },
  "luminance": 0.23464
}

Semantic roles & 50–950 ramp

primary
#96852F
secondary
#6875B9
accent
#64DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96852F

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

Preview Lab → · Contrast checker → · Palette generator →

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