#81801B#81801B

#81801B is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.117 H 108.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#81801B
RGBrgb(129, 128, 27)
HSLhsl(59, 65%, 31%)
HSVhsv(59, 79%, 51%)
CMYKcmyk(0%, 0.8%, 79.1%, 49.4%)
CIE-LABlab(52.05, -11.75, 50.62)
CIE-LCHlch(52.05, 51.97, 103.07°)
OKLaboklab(58.26% -0.0379 0.1105)
OKLCHoklch(58.26% 0.117 108.9)
XYZxyz(16.9709, 20.1851, 4.0389)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81801B #1B1C81
analogous
#814D1B #81801B #4F811B
triadic
#81801B #1B8180 #801B81
tetradic
#81801B #1B814D #1B1C81 #811B4F
square
#81801B #1B814D #1B1C81 #811B4F
split-complementary
#81801B #1B4F81 #4D1B81
monochromatic
#1C1C06 #4E4E10 #81801B #B4B226 #D7D53F

Accessibility & contrast

On white

4.17
#81801B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#81801B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81801B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81801B#FFFFFF#000000##000000
##81801B1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A01
Deuteranopia (green-blind)
#8C7E24
Tritanopia (blue-blind)
#8B776D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #81801b;
/* rgb */ color: rgb(129, 128, 27);
/* oklch */ color: oklch(58.3% 0.117 108.9);
Tailwind
colors: {
  custom: {
    50: '#a9a461',
    500: '#81801b',
    950: '#000000',
  },
}
SCSS
$custom: #81801b;
$custom-light: #a9a461;
$custom-dark: #000000;
JSON
{
  "hex": "#81801b",
  "rgb": {
    "r": 129,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 59.412,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58257,
    "c": 0.11682,
    "h": 108.9
  },
  "luminance": 0.20185
}

Semantic roles & 50–950 ramp

primary
#81801B
secondary
#4344B5
accent
#41E83F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #81801B

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

Preview Lab → · Contrast checker → · Palette generator →

#81801B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva