#96781D#96781D

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

Color values

HEX#96781D
RGBrgb(150, 120, 29)
HSLhsl(45, 68%, 35%)
HSVhsv(45, 81%, 59%)
CMYKcmyk(0%, 20%, 80.7%, 41.2%)
CIE-LABlab(51.85, 2.55, 50.51)
CIE-LCHlch(51.85, 50.58, 87.11°)
OKLaboklab(58.59% 0.0015 0.1097)
OKLCHoklch(58.59% 0.11 89.2)
XYZxyz(19.5171, 20.0070, 3.9959)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96781D #1D3B96
analogous
#963B1D #96781D #77961D
triadic
#96781D #1D9678 #781D96
tetradic
#96781D #1D963B #1D3B96 #961D77
square
#96781D #1D963B #1D3B96 #961D77
split-complementary
#96781D #1D7796 #3B1D96
monochromatic
#2F2609 #634F13 #96781D #C9A127 #DDBA50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96781D#FFFFFF#000000##000000
##96781D1.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)
#877709
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#A36D67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #96781d;
/* rgb */ color: rgb(150, 120, 29);
/* oklch */ color: oklch(58.6% 0.110 89.2);
Tailwind
colors: {
  custom: {
    50: '#b99e61',
    500: '#96781d',
    950: '#000000',
  },
}
SCSS
$custom: #96781d;
$custom-light: #b99e61;
$custom-dark: #000000;
JSON
{
  "hex": "#96781d",
  "rgb": {
    "r": 150,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 45.124,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58585,
    "c": 0.10967,
    "h": 89.2
  },
  "luminance": 0.20006
}

Semantic roles & 50–950 ramp

primary
#96781D
secondary
#4F6BC0
accent
#68EA3D
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #96781D

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

Preview Lab → · Contrast checker → · Palette generator →

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