#96791D#96791D

#96791D is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.8% C 0.110 H 90.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#96791D
RGBrgb(150, 121, 29)
HSLhsl(46, 68%, 35%)
HSVhsv(46, 81%, 59%)
CMYKcmyk(0%, 19.3%, 80.7%, 41.2%)
CIE-LABlab(52.12, 1.98, 50.76)
CIE-LCHlch(52.12, 50.80, 87.77°)
OKLaboklab(58.8% -0.0001 0.1102)
OKLCHoklch(58.8% 0.11 90.1)
XYZxyz(19.6380, 20.2488, 4.0362)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96791D #1D3A96
analogous
#963D1D #96791D #76961D
triadic
#96791D #1D9679 #791D96
tetradic
#96791D #1D963D #1D3A96 #961D76
square
#96791D #1D963D #1D3A96 #961D76
split-complementary
#96791D #1D7696 #3D1D96
monochromatic
#2F2609 #635013 #96791D #C9A227 #DDBB50

Accessibility & contrast

On white

4.16
#96791D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#96791D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96791D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96791D#FFFFFF#000000##000000
##96791D1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887808
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#A36E68
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #96791d;
/* rgb */ color: rgb(150, 121, 29);
/* oklch */ color: oklch(58.8% 0.110 90.1);
Tailwind
colors: {
  custom: {
    50: '#b99f61',
    500: '#96791d',
    950: '#000000',
  },
}
SCSS
$custom: #96791d;
$custom-light: #b99f61;
$custom-dark: #000000;
JSON
{
  "hex": "#96791d",
  "rgb": {
    "r": 150,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 45.62,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.588,
    "c": 0.11019,
    "h": 90.1
  },
  "luminance": 0.20247
}

Semantic roles & 50–950 ramp

primary
#96791D
secondary
#4F6AC0
accent
#67EA3D
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #96791D

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

Preview Lab → · Contrast checker → · Palette generator →

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