#81812E#81812E

#81812E is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.6% C 0.105 H 109.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#81812E
RGBrgb(129, 129, 46)
HSLhsl(60, 47%, 34%)
HSVhsv(60, 64%, 51%)
CMYKcmyk(0%, 0%, 64.3%, 49.4%)
CIE-LABlab(52.47, -11.24, 43.51)
CIE-LCHlch(52.47, 44.94, 104.49°)
OKLaboklab(58.64% -0.0345 0.0989)
OKLCHoklch(58.64% 0.105 109.2)
XYZxyz(17.3972, 20.5654, 5.6373)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81812E #2E2E81
analogous
#81582E #81812E #58812E
triadic
#81812E #2E8181 #812E81
tetradic
#81812E #2E8158 #2E2E81 #812E58
square
#81812E #2E8158 #2E2E81 #812E58
split-complementary
#81812E #2E5881 #582E81
monochromatic
#27270E #54541E #81812E #AEAE3E #C7C762

Accessibility & contrast

On white

4.11
#81812E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#81812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81812E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81812E#FFFFFF#000000##000000
##81812E1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C24
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#8A7970
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #81812e;
/* rgb */ color: rgb(129, 129, 46);
/* oklch */ color: oklch(58.6% 0.105 109.2);
Tailwind
colors: {
  custom: {
    50: '#a8a56b',
    500: '#81812e',
    950: '#000000',
  },
}
SCSS
$custom: #81812e;
$custom-light: #a8a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#81812e",
  "rgb": {
    "r": 129,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 60,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58639,
    "c": 0.10476,
    "h": 109.2
  },
  "luminance": 0.20565
}

Semantic roles & 50–950 ramp

primary
#81812E
secondary
#5D5DAE
accent
#51D751
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #81812E

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

Preview Lab → · Contrast checker → · Palette generator →

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