#96771A#96771A

#96771A is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.4% C 0.111 H 88.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#96771A
RGBrgb(150, 119, 26)
HSLhsl(45, 70%, 35%)
HSVhsv(45, 83%, 59%)
CMYKcmyk(0%, 20.7%, 82.7%, 41.2%)
CIE-LABlab(51.56, 3.00, 51.29)
CIE-LCHlch(51.56, 51.38, 86.65°)
OKLaboklab(58.35% 0.0025 0.1107)
OKLCHoklch(58.35% 0.111 88.7)
XYZxyz(19.3622, 19.7536, 3.7701)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96771A #1A3996
analogous
#96391A #96771A #77961A
triadic
#96771A #1A9677 #771A96
tetradic
#96771A #1A9639 #1A3996 #961A77
square
#96771A #1A9639 #1A3996 #961A77
split-complementary
#96771A #1A7796 #391A96
monochromatic
#2E2408 #624E11 #96771A #CAA023 #E0BA4B

Accessibility & contrast

On white

4.24
#96771A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#96771A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96771A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96771A#FFFFFF#000000##000000
##96771A1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867603
Deuteranopia (green-blind)
#8E7E20
Tritanopia (blue-blind)
#A36C66
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #96771a;
/* rgb */ color: rgb(150, 119, 26);
/* oklch */ color: oklch(58.4% 0.111 88.7);
Tailwind
colors: {
  custom: {
    50: '#b99d60',
    500: '#96771a',
    950: '#000000',
  },
}
SCSS
$custom: #96771a;
$custom-light: #b99d60;
$custom-dark: #000000;
JSON
{
  "hex": "#96771a",
  "rgb": {
    "r": 150,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 45,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58353,
    "c": 0.1107,
    "h": 88.7
  },
  "luminance": 0.19752
}

Semantic roles & 50–950 ramp

primary
#96771A
secondary
#4A68C2
accent
#67ED3B
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #96771A

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

Preview Lab → · Contrast checker → · Palette generator →

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