#96812A#96812A

#96812A is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.6% C 0.107 H 95.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#96812A
RGBrgb(150, 129, 42)
HSLhsl(48, 56%, 38%)
HSVhsv(48, 72%, 59%)
CMYKcmyk(0%, 14%, 72%, 41.2%)
CIE-LABlab(54.40, -1.91, 47.87)
CIE-LCHlch(54.40, 47.91, 92.29°)
OKLaboklab(60.63% -0.0098 0.1068)
OKLCHoklch(60.63% 0.107 95.2)
XYZxyz(20.8469, 22.3528, 5.4065)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96812A #2A3F96
analogous
#964B2A #96812A #75962A
triadic
#96812A #2A9681 #812A96
tetradic
#96812A #2A964B #2A3F96 #962A75
square
#96812A #2A964B #2A3F96 #962A75
split-complementary
#96812A #2A7596 #4B2A96
monochromatic
#362F0F #66581D #96812A #C6AA37 #D4BF66

Accessibility & contrast

On white

3.84
#96812A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#96812A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96812A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96812A#FFFFFF#000000##000000
##96812A1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1D
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#A2776F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #96812a;
/* rgb */ color: rgb(150, 129, 42);
/* oklch */ color: oklch(60.6% 0.107 95.2);
Tailwind
colors: {
  custom: {
    50: '#b8a569',
    500: '#96812a',
    950: '#000000',
  },
}
SCSS
$custom: #96812a;
$custom-light: #b8a569;
$custom-dark: #000000;
JSON
{
  "hex": "#96812a",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 48.333,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60629,
    "c": 0.1072,
    "h": 95.2
  },
  "luminance": 0.22352
}

Semantic roles & 50–950 ramp

primary
#96812A
secondary
#6173BA
accent
#66E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96812A

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

Preview Lab → · Contrast checker → · Palette generator →

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