#96812E#96812E

#96812E is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.7% C 0.104 H 94.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#96812E
RGBrgb(150, 129, 46)
HSLhsl(48, 53%, 38%)
HSVhsv(48, 69%, 59%)
CMYKcmyk(0%, 14%, 69.3%, 41.2%)
CIE-LABlab(54.43, -1.68, 46.17)
CIE-LCHlch(54.43, 46.20, 92.09°)
OKLaboklab(60.66% -0.0087 0.1039)
OKLCHoklch(60.66% 0.104 94.8)
XYZxyz(20.9221, 22.3829, 5.8026)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96812E #2E4396
analogous
#964D2E #96812E #77962E
triadic
#96812E #2E9681 #812E96
tetradic
#96812E #2E964D #2E4396 #962E77
square
#96812E #2E964D #2E4396 #962E77
split-complementary
#96812E #2E7796 #4D2E96
monochromatic
#383011 #675920 #96812E #C4A93E #D2BE6C

Accessibility & contrast

On white

3.83
#96812E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#96812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96812E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96812E#FFFFFF#000000##000000
##96812E1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E23
Deuteranopia (green-blind)
#948532
Tritanopia (blue-blind)
#A27770
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #96812e;
/* rgb */ color: rgb(150, 129, 46);
/* oklch */ color: oklch(60.7% 0.104 94.8);
Tailwind
colors: {
  custom: {
    50: '#b8a56b',
    500: '#96812e',
    950: '#000000',
  },
}
SCSS
$custom: #96812e;
$custom-light: #b8a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#96812e",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 47.885,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60664,
    "c": 0.10425,
    "h": 94.8
  },
  "luminance": 0.22382
}

Semantic roles & 50–950 ramp

primary
#96812E
secondary
#6777B9
accent
#69DC4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96812E

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

Preview Lab → · Contrast checker → · Palette generator →

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