#96801F#96801F

#96801F is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.3% C 0.113 H 95.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#96801F
RGBrgb(150, 128, 31)
HSLhsl(49, 66%, 35%)
HSVhsv(49, 79%, 59%)
CMYKcmyk(0%, 14.7%, 79.3%, 41.2%)
CIE-LABlab(54.05, -1.87, 51.81)
CIE-LCHlch(54.05, 51.84, 92.07°)
OKLaboklab(60.33% -0.0109 0.1129)
OKLCHoklch(60.33% 0.113 95.5)
XYZxyz(20.5453, 22.0225, 4.4647)
Luminance0.2202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96801F #1F3596
analogous
#96451F #96801F #70961F
triadic
#96801F #1F9680 #801F96
tetradic
#96801F #1F9645 #1F3596 #961F70
square
#96801F #1F9645 #1F3596 #961F70
split-complementary
#96801F #1F7096 #451F96
monochromatic
#31290A #635515 #96801F #C9AB29 #DCC354

Accessibility & contrast

On white

3.89
#96801F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#96801F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96801F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96801F#FFFFFF#000000##000000
##96801F1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#948426
Tritanopia (blue-blind)
#A3756E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #96801f;
/* rgb */ color: rgb(150, 128, 31);
/* oklch */ color: oklch(60.3% 0.113 95.5);
Tailwind
colors: {
  custom: {
    50: '#b9a463',
    500: '#96801f',
    950: '#000000',
  },
}
SCSS
$custom: #96801f;
$custom-light: #b9a463;
$custom-dark: #000000;
JSON
{
  "hex": "#96801f",
  "rgb": {
    "r": 150,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 48.908,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6033,
    "c": 0.11341,
    "h": 95.5
  },
  "luminance": 0.22021
}

Semantic roles & 50–950 ramp

primary
#96801F
secondary
#5266BF
accent
#5EE93F
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96801F

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

Preview Lab → · Contrast checker → · Palette generator →

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