#96852A#96852A

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

Color values

HEX#96852A
RGBrgb(150, 133, 42)
HSLhsl(51, 56%, 38%)
HSVhsv(51, 72%, 59%)
CMYKcmyk(0%, 11.3%, 72%, 41.2%)
CIE-LABlab(55.51, -4.13, 48.98)
CIE-LCHlch(55.51, 49.15, 94.82°)
OKLaboklab(61.51% -0.0161 0.1091)
OKLCHoklch(61.51% 0.11 98.4)
XYZxyz(21.3841, 23.4273, 5.5856)
Luminance0.2343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96852A #2A3B96
analogous
#964F2A #96852A #71962A
triadic
#96852A #2A9685 #852A96
tetradic
#96852A #2A964F #2A3B96 #962A71
square
#96852A #2A964F #2A3B96 #962A71
split-complementary
#96852A #2A7196 #4F2A96
monochromatic
#36300F #665B1D #96852A #C6AF37 #D4C366

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96852A#FFFFFF#000000##000000
##96852A1.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)
#92821C
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#A27B73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #96852a;
/* rgb */ color: rgb(150, 133, 42);
/* oklch */ color: oklch(61.5% 0.110 98.4);
Tailwind
colors: {
  custom: {
    50: '#b8a869',
    500: '#96852a',
    950: '#000000',
  },
}
SCSS
$custom: #96852a;
$custom-light: #b8a869;
$custom-dark: #000000;
JSON
{
  "hex": "#96852a",
  "rgb": {
    "r": 150,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 50.556,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61508,
    "c": 0.11029,
    "h": 98.4
  },
  "luminance": 0.23426
}

Semantic roles & 50–950 ramp

primary
#96852A
secondary
#616FBA
accent
#60E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96852A

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

Preview Lab → · Contrast checker → · Palette generator →

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