#81811E#81811E

#81811E is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.5% C 0.116 H 109.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#81811E
RGBrgb(129, 129, 30)
HSLhsl(60, 62%, 31%)
HSVhsv(60, 77%, 51%)
CMYKcmyk(0%, 0%, 76.7%, 49.4%)
CIE-LABlab(52.36, -12.16, 49.88)
CIE-LCHlch(52.36, 51.34, 103.70°)
OKLaboklab(58.51% -0.0388 0.1095)
OKLCHoklch(58.51% 0.116 109.5)
XYZxyz(17.1385, 20.4619, 4.2748)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81811E #1E1E81
analogous
#814F1E #81811E #4F811E
triadic
#81811E #1E8181 #811E81
tetradic
#81811E #1E814F #1E1E81 #811E4F
square
#81811E #1E814F #1E1E81 #811E4F
split-complementary
#81811E #1E4F81 #4F1E81
monochromatic
#1E1E07 #4F4F12 #81811E #B3B32A #D4D446

Accessibility & contrast

On white

4.12
#81811E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#81811E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81811E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81811E#FFFFFF#000000##000000
##81811E1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B07
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#8B786E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #81811e;
/* rgb */ color: rgb(129, 129, 30);
/* oklch */ color: oklch(58.5% 0.116 109.5);
Tailwind
colors: {
  custom: {
    50: '#a9a562',
    500: '#81811e',
    950: '#000000',
  },
}
SCSS
$custom: #81811e;
$custom-light: #a9a562;
$custom-dark: #000000;
JSON
{
  "hex": "#81811e",
  "rgb": {
    "r": 129,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5851,
    "c": 0.11617,
    "h": 109.5
  },
  "luminance": 0.20461
}

Semantic roles & 50–950 ramp

primary
#81811E
secondary
#4747B4
accent
#42E542
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #81811E

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

Preview Lab → · Contrast checker → · Palette generator →

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