#96831E#96831E

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

Color values

HEX#96831E
RGBrgb(150, 131, 30)
HSLhsl(51, 67%, 35%)
HSVhsv(51, 80%, 59%)
CMYKcmyk(0%, 12.7%, 80%, 41.2%)
CIE-LABlab(54.88, -3.57, 52.91)
CIE-LCHlch(54.88, 53.03, 93.87°)
OKLaboklab(60.98% -0.0158 0.115)
OKLCHoklch(60.98% 0.116 97.8)
XYZxyz(20.9294, 22.8115, 4.5287)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96831E #1E3196
analogous
#96471E #96831E #6D961E
triadic
#96831E #1E9683 #831E96
tetradic
#96831E #1E9647 #1E3196 #961E6D
square
#96831E #1E9647 #1E3196 #961E6D
split-complementary
#96831E #1E6D96 #471E96
monochromatic
#302A0A #635614 #96831E #C9B028 #DCC652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96831E#FFFFFF#000000##000000
##96831E1.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)
#918005
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #96831e;
/* rgb */ color: rgb(150, 131, 30);
/* oklch */ color: oklch(61.0% 0.116 97.8);
Tailwind
colors: {
  custom: {
    50: '#b9a663',
    500: '#96831e',
    950: '#000000',
  },
}
SCSS
$custom: #96831e;
$custom-light: #b9a663;
$custom-dark: #000000;
JSON
{
  "hex": "#96831e",
  "rgb": {
    "r": 150,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 50.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60983,
    "c": 0.11611,
    "h": 97.8
  },
  "luminance": 0.2281
}

Semantic roles & 50–950 ramp

primary
#96831E
secondary
#5062BF
accent
#59EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96831E

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

Preview Lab → · Contrast checker → · Palette generator →

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