#96791E#96791E

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

Color values

HEX#96791E
RGBrgb(150, 121, 30)
HSLhsl(46, 67%, 35%)
HSVhsv(46, 80%, 59%)
CMYKcmyk(0%, 19.3%, 80%, 41.2%)
CIE-LABlab(52.12, 2.02, 50.40)
CIE-LCHlch(52.12, 50.45, 87.71°)
OKLaboklab(58.81% 0.0001 0.1097)
OKLCHoklch(58.81% 0.11 90)
XYZxyz(19.6506, 20.2538, 4.1024)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96791E #1E3B96
analogous
#963D1E #96791E #77961E
triadic
#96791E #1E9679 #791E96
tetradic
#96791E #1E963D #1E3B96 #961E77
square
#96791E #1E963D #1E3B96 #961E77
split-complementary
#96791E #1E7796 #3D1E96
monochromatic
#30270A #635014 #96791E #C9A228 #DCBB52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96791E#FFFFFF#000000##000000
##96791E1.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)
#88780B
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#A36E68
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #96791e;
/* rgb */ color: rgb(150, 121, 30);
/* oklch */ color: oklch(58.8% 0.110 90.0);
Tailwind
colors: {
  custom: {
    50: '#b99f62',
    500: '#96791e',
    950: '#000000',
  },
}
SCSS
$custom: #96791e;
$custom-light: #b99f62;
$custom-dark: #000000;
JSON
{
  "hex": "#96791e",
  "rgb": {
    "r": 150,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 45.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58806,
    "c": 0.10966,
    "h": 90
  },
  "luminance": 0.20253
}

Semantic roles & 50–950 ramp

primary
#96791E
secondary
#506BBF
accent
#68EA3E
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #96791E

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

Preview Lab → · Contrast checker → · Palette generator →

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