#96831C#96831C

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

Color values

HEX#96831C
RGBrgb(150, 131, 28)
HSLhsl(51, 69%, 35%)
HSVhsv(51, 81%, 59%)
CMYKcmyk(0%, 12.7%, 81.3%, 41.2%)
CIE-LABlab(54.87, -3.65, 53.56)
CIE-LCHlch(54.87, 53.69, 93.90°)
OKLaboklab(60.97% -0.0162 0.116)
OKLCHoklch(60.97% 0.117 98)
XYZxyz(20.9047, 22.8016, 4.3984)
Luminance0.2280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96831C #1C2F96
analogous
#96461C #96831C #6C961C
triadic
#96831C #1C9683 #831C96
tetradic
#96831C #1C9646 #1C2F96 #961C6C
square
#96831C #1C9646 #1C2F96 #961C6C
split-complementary
#96831C #1C6C96 #461C96
monochromatic
#2F2909 #625612 #96831C #CAB026 #DEC84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96831C#FFFFFF#000000##000000
##96831C1.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)
#968624
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #96831c;
/* rgb */ color: rgb(150, 131, 28);
/* oklch */ color: oklch(61.0% 0.117 98.0);
Tailwind
colors: {
  custom: {
    50: '#b9a662',
    500: '#96831c',
    950: '#000000',
  },
}
SCSS
$custom: #96831c;
$custom-light: #b9a662;
$custom-dark: #000000;
JSON
{
  "hex": "#96831c",
  "rgb": {
    "r": 150,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 50.656,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60971,
    "c": 0.11714,
    "h": 98
  },
  "luminance": 0.228
}

Semantic roles & 50–950 ramp

primary
#96831C
secondary
#4D5FC1
accent
#58EB3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96831C

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

Preview Lab → · Contrast checker → · Palette generator →

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