#96851F#96851F

#96851F is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.4% C 0.117 H 99.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#96851F
RGBrgb(150, 133, 31)
HSLhsl(51, 66%, 35%)
HSVhsv(51, 79%, 59%)
CMYKcmyk(0%, 11.3%, 79.3%, 41.2%)
CIE-LABlab(55.44, -4.64, 53.08)
CIE-LCHlch(55.44, 53.28, 95.00°)
OKLaboklab(61.43% -0.0187 0.1156)
OKLCHoklch(61.43% 0.117 99.2)
XYZxyz(21.2136, 23.3591, 4.6874)
Luminance0.2336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96851F #1F3096
analogous
#964A1F #96851F #6B961F
triadic
#96851F #1F9685 #851F96
tetradic
#96851F #1F964A #1F3096 #961F6B
square
#96851F #1F964A #1F3096 #961F6B
split-complementary
#96851F #1F6B96 #4A1F96
monochromatic
#312B0A #635815 #96851F #C9B229 #DCC854

Accessibility & contrast

On white

3.70
#96851F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#96851F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96851F
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96851F#FFFFFF#000000##000000
##96851F1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938106
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#A27B72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #96851f;
/* rgb */ color: rgb(150, 133, 31);
/* oklch */ color: oklch(61.4% 0.117 99.2);
Tailwind
colors: {
  custom: {
    50: '#b9a864',
    500: '#96851f',
    950: '#000000',
  },
}
SCSS
$custom: #96851f;
$custom-light: #b9a864;
$custom-dark: #000000;
JSON
{
  "hex": "#96851f",
  "rgb": {
    "r": 150,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 51.429,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61431,
    "c": 0.11711,
    "h": 99.2
  },
  "luminance": 0.23358
}

Semantic roles & 50–950 ramp

primary
#96851F
secondary
#5261BF
accent
#57E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96851F

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

Preview Lab → · Contrast checker → · Palette generator →

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