#96831B#96831B

#96831B is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.0% C 0.118 H 98.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#96831B
RGBrgb(150, 131, 27)
HSLhsl(51, 69%, 35%)
HSVhsv(51, 82%, 59%)
CMYKcmyk(0%, 12.7%, 82%, 41.2%)
CIE-LABlab(54.86, -3.69, 53.88)
CIE-LCHlch(54.86, 54.00, 93.91°)
OKLaboklab(60.97% -0.0164 0.1165)
OKLCHoklch(60.97% 0.118 98)
XYZxyz(20.8929, 22.7969, 4.3365)
Luminance0.2280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96831B #1B2E96
analogous
#96461B #96831B #6B961B
triadic
#96831B #1B9683 #831B96
tetradic
#96831B #1B9646 #1B2E96 #961B6B
square
#96831B #1B9646 #1B2E96 #961B6B
split-complementary
#96831B #1B6B96 #461B96
monochromatic
#2E2808 #625612 #96831B #CAB024 #DFC84D

Accessibility & contrast

On white

3.78
#96831B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#96831B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96831B
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96831B#FFFFFF#000000##000000
##96831B1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #96831b;
/* rgb */ color: rgb(150, 131, 27);
/* oklch */ color: oklch(61.0% 0.118 98.0);
Tailwind
colors: {
  custom: {
    50: '#b9a662',
    500: '#96831b',
    950: '#000000',
  },
}
SCSS
$custom: #96831b;
$custom-light: #b9a662;
$custom-dark: #000000;
JSON
{
  "hex": "#96831b",
  "rgb": {
    "r": 150,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 50.732,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60966,
    "c": 0.11763,
    "h": 98
  },
  "luminance": 0.22796
}

Semantic roles & 50–950 ramp

primary
#96831B
secondary
#4C5EC1
accent
#57EC3B
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #96831B

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

Preview Lab → · Contrast checker → · Palette generator →

#96831B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva