#96831F#96831F

#96831F 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#96831F
RGBrgb(150, 131, 31)
HSLhsl(50, 66%, 35%)
HSVhsv(50, 79%, 59%)
CMYKcmyk(0%, 12.7%, 79.3%, 41.2%)
CIE-LABlab(54.88, -3.54, 52.57)
CIE-LCHlch(54.88, 52.69, 93.85°)
OKLaboklab(60.99% -0.0156 0.1145)
OKLCHoklch(60.99% 0.116 97.8)
XYZxyz(20.9424, 22.8167, 4.5970)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96831F #1F3296
analogous
#96471F #96831F #6D961F
triadic
#96831F #1F9683 #831F96
tetradic
#96831F #1F9647 #1F3296 #961F6D
square
#96831F #1F9647 #1F3296 #961F6D
split-complementary
#96831F #1F6D96 #471F96
monochromatic
#312A0A #635715 #96831F #C9AF29 #DCC654

Accessibility & contrast

On white

3.77
#96831F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##96831F#FFFFFF#000000##000000
##96831F1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96831f;
/* rgb */ color: rgb(150, 131, 31);
/* oklch */ color: oklch(61.0% 0.116 97.8);
Tailwind
colors: {
  custom: {
    50: '#b9a664',
    500: '#96831f',
    950: '#000000',
  },
}
SCSS
$custom: #96831f;
$custom-light: #b9a664;
$custom-dark: #000000;
JSON
{
  "hex": "#96831f",
  "rgb": {
    "r": 150,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 50.42,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60989,
    "c": 0.11558,
    "h": 97.8
  },
  "luminance": 0.22816
}

Semantic roles & 50–950 ramp

primary
#96831F
secondary
#5263BF
accent
#5AE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96831F

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

Preview Lab → · Contrast checker → · Palette generator →

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