#96881F#96881F

#96881F is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.1% C 0.120 H 101.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#96881F
RGBrgb(150, 136, 31)
HSLhsl(53, 66%, 35%)
HSVhsv(53, 79%, 59%)
CMYKcmyk(0%, 9.3%, 79.3%, 41.2%)
CIE-LABlab(56.28, -6.29, 53.84)
CIE-LCHlch(56.28, 54.21, 96.66°)
OKLaboklab(62.1% -0.0234 0.1172)
OKLCHoklch(62.1% 0.12 101.3)
XYZxyz(21.6302, 24.1923, 4.8263)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96881F #1F2D96
analogous
#964C1F #96881F #68961F
triadic
#96881F #1F9688 #881F96
tetradic
#96881F #1F964C #1F2D96 #961F68
square
#96881F #1F964C #1F2D96 #961F68
split-complementary
#96881F #1F6896 #4C1F96
monochromatic
#312C0A #635A15 #96881F #C9B629 #DCCC54

Accessibility & contrast

On white

3.60
#96881F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#96881F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96881F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96881F#FFFFFF#000000##000000
##96881F1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968405
Deuteranopia (green-blind)
#998927
Tritanopia (blue-blind)
#A27E74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #96881f;
/* rgb */ color: rgb(150, 136, 31);
/* oklch */ color: oklch(62.1% 0.120 101.3);
Tailwind
colors: {
  custom: {
    50: '#b9aa64',
    500: '#96881f',
    950: '#000000',
  },
}
SCSS
$custom: #96881f;
$custom-light: #b9aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#96881f",
  "rgb": {
    "r": 150,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 52.941,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62097,
    "c": 0.11954,
    "h": 101.3
  },
  "luminance": 0.24191
}

Semantic roles & 50–950 ramp

primary
#96881F
secondary
#525FBF
accent
#53E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #96881F

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

Preview Lab → · Contrast checker → · Palette generator →

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