#96812F#96812F

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

Color values

HEX#96812F
RGBrgb(150, 129, 47)
HSLhsl(48, 52%, 39%)
HSVhsv(48, 69%, 59%)
CMYKcmyk(0%, 14%, 68.7%, 41.2%)
CIE-LABlab(54.44, -1.63, 45.73)
CIE-LCHlch(54.44, 45.76, 92.03°)
OKLaboklab(60.67% -0.0084 0.1031)
OKLCHoklch(60.67% 0.103 94.6)
XYZxyz(20.9420, 22.3909, 5.9076)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96812F #2F4496
analogous
#964D2F #96812F #77962F
triadic
#96812F #2F9681 #812F96
tetradic
#96812F #2F964D #2F4496 #962F77
square
#96812F #2F964D #2F4496 #962F77
split-complementary
#96812F #2F7796 #4D2F96
monochromatic
#393112 #675920 #96812F #C3A83F #D2BD6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96812F#FFFFFF#000000##000000
##96812F1.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)
#8E7E25
Deuteranopia (green-blind)
#948533
Tritanopia (blue-blind)
#A27770
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #96812f;
/* rgb */ color: rgb(150, 129, 47);
/* oklch */ color: oklch(60.7% 0.103 94.6);
Tailwind
colors: {
  custom: {
    50: '#b8a56c',
    500: '#96812f',
    950: '#000000',
  },
}
SCSS
$custom: #96812f;
$custom-light: #b8a56c;
$custom-dark: #000000;
JSON
{
  "hex": "#96812f",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 47.767,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60673,
    "c": 0.10348,
    "h": 94.6
  },
  "luminance": 0.2239
}

Semantic roles & 50–950 ramp

primary
#96812F
secondary
#6878B9
accent
#69DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #96812F

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

Preview Lab → · Contrast checker → · Palette generator →

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