#96791A#96791A

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

Color values

HEX#96791A
RGBrgb(150, 121, 26)
HSLhsl(46, 70%, 35%)
HSVhsv(46, 83%, 59%)
CMYKcmyk(0%, 19.3%, 82.7%, 41.2%)
CIE-LABlab(52.10, 1.87, 51.77)
CIE-LCHlch(52.10, 51.80, 87.93°)
OKLaboklab(58.78% -0.0008 0.1117)
OKLCHoklch(58.78% 0.112 90.4)
XYZxyz(19.6027, 20.2346, 3.8503)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96791A #1A3796
analogous
#963B1A #96791A #75961A
triadic
#96791A #1A9679 #791A96
tetradic
#96791A #1A963B #1A3796 #961A75
square
#96791A #1A963B #1A3796 #961A75
split-complementary
#96791A #1A7596 #3B1A96
monochromatic
#2E2508 #624F11 #96791A #CAA323 #E0BD4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96791A#FFFFFF#000000##000000
##96791A1.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)
#887802
Deuteranopia (green-blind)
#8F8020
Tritanopia (blue-blind)
#A36E67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #96791a;
/* rgb */ color: rgb(150, 121, 26);
/* oklch */ color: oklch(58.8% 0.112 90.4);
Tailwind
colors: {
  custom: {
    50: '#b99f60',
    500: '#96791a',
    950: '#000000',
  },
}
SCSS
$custom: #96791a;
$custom-light: #b99f60;
$custom-dark: #000000;
JSON
{
  "hex": "#96791a",
  "rgb": {
    "r": 150,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 45.968,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58782,
    "c": 0.11171,
    "h": 90.4
  },
  "luminance": 0.20233
}

Semantic roles & 50–950 ramp

primary
#96791A
secondary
#4A66C2
accent
#64ED3B
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #96791A

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

Preview Lab → · Contrast checker → · Palette generator →

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