#96812D#96812D

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

Color values

HEX#96812D
RGBrgb(150, 129, 45)
HSLhsl(48, 54%, 38%)
HSVhsv(48, 70%, 59%)
CMYKcmyk(0%, 14%, 70%, 41.2%)
CIE-LABlab(54.42, -1.74, 46.60)
CIE-LCHlch(54.42, 46.63, 92.14°)
OKLaboklab(60.66% -0.009 0.1046)
OKLCHoklch(60.66% 0.105 94.9)
XYZxyz(20.9026, 22.3751, 5.7000)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96812D #2D4296
analogous
#964C2D #96812D #76962D
triadic
#96812D #2D9681 #812D96
tetradic
#96812D #2D964C #2D4296 #962D76
square
#96812D #2D964C #2D4296 #962D76
split-complementary
#96812D #2D7696 #4C2D96
monochromatic
#383011 #67591F #96812D #C4A93C #D3BE6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96812D#FFFFFF#000000##000000
##96812D1.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)
#8E7E22
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#A27770
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #96812d;
/* rgb */ color: rgb(150, 129, 45);
/* oklch */ color: oklch(60.7% 0.105 94.9);
Tailwind
colors: {
  custom: {
    50: '#b8a56b',
    500: '#96812d',
    950: '#000000',
  },
}
SCSS
$custom: #96812d;
$custom-light: #b8a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#96812d",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 48,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60655,
    "c": 0.105,
    "h": 94.9
  },
  "luminance": 0.22374
}

Semantic roles & 50–950 ramp

primary
#96812D
secondary
#6576B9
accent
#68DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96812D

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

Preview Lab → · Contrast checker → · Palette generator →

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