#96781E#96781E

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

Color values

HEX#96781E
RGBrgb(150, 120, 30)
HSLhsl(45, 67%, 35%)
HSVhsv(45, 80%, 59%)
CMYKcmyk(0%, 20%, 80%, 41.2%)
CIE-LABlab(51.85, 2.59, 50.16)
CIE-LCHlch(51.85, 50.22, 87.05°)
OKLaboklab(58.59% 0.0017 0.1091)
OKLCHoklch(58.59% 0.109 89.1)
XYZxyz(19.5297, 20.0120, 4.0621)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96781E #1E3C96
analogous
#963C1E #96781E #78961E
triadic
#96781E #1E9678 #781E96
tetradic
#96781E #1E963C #1E3C96 #961E78
square
#96781E #1E963C #1E3C96 #961E78
split-complementary
#96781E #1E7896 #3C1E96
monochromatic
#30260A #634F14 #96781E #C9A128 #DCBA52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96781E#FFFFFF#000000##000000
##96781E1.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)
#87770B
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#A36D67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #96781e;
/* rgb */ color: rgb(150, 120, 30);
/* oklch */ color: oklch(58.6% 0.109 89.1);
Tailwind
colors: {
  custom: {
    50: '#b99e62',
    500: '#96781e',
    950: '#000000',
  },
}
SCSS
$custom: #96781e;
$custom-light: #b99e62;
$custom-dark: #000000;
JSON
{
  "hex": "#96781e",
  "rgb": {
    "r": 150,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 45,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58591,
    "c": 0.10913,
    "h": 89.1
  },
  "luminance": 0.20011
}

Semantic roles & 50–950 ramp

primary
#96781E
secondary
#506CBF
accent
#69EA3E
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #96781E

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

Preview Lab → · Contrast checker → · Palette generator →

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