#96831D#96831D

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

Color values

HEX#96831D
RGBrgb(150, 131, 29)
HSLhsl(51, 68%, 35%)
HSVhsv(51, 81%, 59%)
CMYKcmyk(0%, 12.7%, 80.7%, 41.2%)
CIE-LABlab(54.87, -3.61, 53.24)
CIE-LCHlch(54.87, 53.36, 93.88°)
OKLaboklab(60.98% -0.016 0.1155)
OKLCHoklch(60.98% 0.117 97.9)
XYZxyz(20.9168, 22.8064, 4.4625)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96831D #1D3096
analogous
#96471D #96831D #6C961D
triadic
#96831D #1D9683 #831D96
tetradic
#96831D #1D9647 #1D3096 #961D6C
square
#96831D #1D9647 #1D3096 #961D6C
split-complementary
#96831D #1D6C96 #471D96
monochromatic
#2F2909 #635613 #96831D #C9B027 #DDC750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96831D#FFFFFF#000000##000000
##96831D1.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)
#918003
Deuteranopia (green-blind)
#968624
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #96831d;
/* rgb */ color: rgb(150, 131, 29);
/* oklch */ color: oklch(61.0% 0.117 97.9);
Tailwind
colors: {
  custom: {
    50: '#b9a663',
    500: '#96831d',
    950: '#000000',
  },
}
SCSS
$custom: #96831d;
$custom-light: #b9a663;
$custom-dark: #000000;
JSON
{
  "hex": "#96831d",
  "rgb": {
    "r": 150,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 50.579,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.11664,
    "h": 97.9
  },
  "luminance": 0.22805
}

Semantic roles & 50–950 ramp

primary
#96831D
secondary
#4F61C0
accent
#59EA3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96831D

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

Preview Lab → · Contrast checker → · Palette generator →

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