#96811F#96811F

#96811F is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.5% C 0.114 H 96.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#96811F
RGBrgb(150, 129, 31)
HSLhsl(49, 66%, 35%)
HSVhsv(49, 79%, 59%)
CMYKcmyk(0%, 14%, 79.3%, 41.2%)
CIE-LABlab(54.33, -2.43, 52.06)
CIE-LCHlch(54.33, 52.12, 92.67°)
OKLaboklab(60.55% -0.0125 0.1134)
OKLCHoklch(60.55% 0.114 96.3)
XYZxyz(20.6764, 22.2846, 4.5084)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96811F #1F3496
analogous
#96461F #96811F #6F961F
triadic
#96811F #1F9681 #811F96
tetradic
#96811F #1F9646 #1F3496 #961F6F
square
#96811F #1F9646 #1F3496 #961F6F
split-complementary
#96811F #1F6F96 #461F96
monochromatic
#312A0A #635515 #96811F #C9AD29 #DCC454

Accessibility & contrast

On white

3.85
#96811F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#96811F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96811F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96811F#FFFFFF#000000##000000
##96811F1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E09
Deuteranopia (green-blind)
#948526
Tritanopia (blue-blind)
#A2766E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #96811f;
/* rgb */ color: rgb(150, 129, 31);
/* oklch */ color: oklch(60.5% 0.114 96.3);
Tailwind
colors: {
  custom: {
    50: '#b9a563',
    500: '#96811f',
    950: '#000000',
  },
}
SCSS
$custom: #96811f;
$custom-light: #b9a563;
$custom-dark: #000000;
JSON
{
  "hex": "#96811f",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 49.412,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60549,
    "c": 0.11411,
    "h": 96.3
  },
  "luminance": 0.22283
}

Semantic roles & 50–950 ramp

primary
#96811F
secondary
#5265BF
accent
#5DE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96811F

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

Preview Lab → · Contrast checker → · Palette generator →

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