#816A19#816A19

#816A19 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 53.2% C 0.099 H 92.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#816A19
RGBrgb(129, 106, 25)
HSLhsl(47, 68%, 30%)
HSVhsv(47, 81%, 51%)
CMYKcmyk(0%, 17.8%, 80.6%, 49.4%)
CIE-LABlab(45.70, 0.51, 45.53)
CIE-LCHlch(45.70, 45.53, 89.36°)
OKLaboklab(53.21% -0.0036 0.0992)
OKLCHoklch(53.21% 0.099 92.1)
XYZxyz(14.3836, 15.0463, 3.0661)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816A19 #193081
analogous
#813619 #816A19 #648119
triadic
#816A19 #19816A #6A1981
tetradic
#816A19 #198136 #193081 #811964
square
#816A19 #198136 #193081 #811964
split-complementary
#816A19 #196481 #361981
monochromatic
#1A1605 #4E400F #816A19 #B49423 #D9B63B

Accessibility & contrast

On white

5.24
#816A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#816A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816A19
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816A19#FFFFFF#000000##FFFFFF
##816A191.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776808
Deuteranopia (green-blind)
#7C6F1E
Tritanopia (blue-blind)
#8C615B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #816a19;
/* rgb */ color: rgb(129, 106, 25);
/* oklch */ color: oklch(53.2% 0.099 92.1);
Tailwind
colors: {
  custom: {
    50: '#a9945d',
    500: '#816a19',
    950: '#000000',
  },
}
SCSS
$custom: #816a19;
$custom-light: #a9945d;
$custom-dark: #000000;
JSON
{
  "hex": "#816a19",
  "rgb": {
    "r": 129,
    "g": 106,
    "b": 25
  },
  "hsl": {
    "h": 46.731,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53212,
    "c": 0.09924,
    "h": 92.1
  },
  "luminance": 0.15045
}

Semantic roles & 50–950 ramp

primary
#816A19
secondary
#415AB5
accent
#64EA3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816A19

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

Preview Lab → · Contrast checker → · Palette generator →

#816A19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva