#96781A#96781A

#96781A is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.6% C 0.111 H 89.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#96781A
RGBrgb(150, 120, 26)
HSLhsl(45, 70%, 35%)
HSVhsv(45, 83%, 59%)
CMYKcmyk(0%, 20%, 82.7%, 41.2%)
CIE-LABlab(51.83, 2.44, 51.53)
CIE-LCHlch(51.83, 51.59, 87.29°)
OKLaboklab(58.57% 0.0009 0.1112)
OKLCHoklch(58.57% 0.111 89.6)
XYZxyz(19.4818, 19.9929, 3.8100)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96781A #1A3896
analogous
#963A1A #96781A #76961A
triadic
#96781A #1A9678 #781A96
tetradic
#96781A #1A963A #1A3896 #961A76
square
#96781A #1A963A #1A3896 #961A76
split-complementary
#96781A #1A7696 #3A1A96
monochromatic
#2E2508 #624E11 #96781A #CAA223 #E0BC4B

Accessibility & contrast

On white

4.20
#96781A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#96781A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96781A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96781A#FFFFFF#000000##000000
##96781A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877702
Deuteranopia (green-blind)
#8E7F20
Tritanopia (blue-blind)
#A36D67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #96781a;
/* rgb */ color: rgb(150, 120, 26);
/* oklch */ color: oklch(58.6% 0.111 89.6);
Tailwind
colors: {
  custom: {
    50: '#b99e60',
    500: '#96781a',
    950: '#000000',
  },
}
SCSS
$custom: #96781a;
$custom-light: #b99e60;
$custom-dark: #000000;
JSON
{
  "hex": "#96781a",
  "rgb": {
    "r": 150,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 45.484,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58567,
    "c": 0.11119,
    "h": 89.6
  },
  "luminance": 0.19992
}

Semantic roles & 50–950 ramp

primary
#96781A
secondary
#4A67C2
accent
#66ED3B
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #96781A

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

Preview Lab → · Contrast checker → · Palette generator →

#96781A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva