#816B18#816B18

#816B18 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.4% C 0.100 H 93.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#816B18
RGBrgb(129, 107, 24)
HSLhsl(47, 69%, 30%)
HSVhsv(47, 81%, 51%)
CMYKcmyk(0%, 17.1%, 81.4%, 49.4%)
CIE-LABlab(45.97, -0.11, 46.15)
CIE-LCHlch(45.97, 46.15, 90.13°)
OKLaboklab(53.43% -0.0054 0.1003)
OKLCHoklch(53.43% 0.1 93.1)
XYZxyz(14.4767, 15.2493, 3.0449)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816B18 #182E81
analogous
#813718 #816B18 #628118
triadic
#816B18 #18816B #6B1881
tetradic
#816B18 #188137 #182E81 #811862
square
#816B18 #188137 #182E81 #811862
split-complementary
#816B18 #186281 #371881
monochromatic
#1A1505 #4D400E #816B18 #B59622 #DAB839

Accessibility & contrast

On white

5.19
#816B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#816B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816B18
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816B18#FFFFFF#000000##FFFFFF
##816B181.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786906
Deuteranopia (green-blind)
#7D701D
Tritanopia (blue-blind)
#8C625B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #816b18;
/* rgb */ color: rgb(129, 107, 24);
/* oklch */ color: oklch(53.4% 0.100 93.1);
Tailwind
colors: {
  custom: {
    50: '#a9955d',
    500: '#816b18',
    950: '#000000',
  },
}
SCSS
$custom: #816b18;
$custom-light: #a9955d;
$custom-dark: #000000;
JSON
{
  "hex": "#816b18",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 47.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.53429,
    "c": 0.10043,
    "h": 93.1
  },
  "luminance": 0.15248
}

Semantic roles & 50–950 ramp

primary
#816B18
secondary
#4058B5
accent
#61EB3C
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816B18

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

Preview Lab → · Contrast checker → · Palette generator →

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