#81801F#81801F

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

Color values

HEX#81801F
RGBrgb(129, 128, 31)
HSLhsl(59, 61%, 31%)
HSVhsv(59, 76%, 51%)
CMYKcmyk(0%, 0.8%, 76%, 49.4%)
CIE-LABlab(52.07, -11.57, 49.25)
CIE-LCHlch(52.07, 50.59, 103.22°)
OKLaboklab(58.28% -0.0371 0.1084)
OKLCHoklch(58.28% 0.115 108.9)
XYZxyz(17.0204, 20.2049, 4.2994)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81801F #1F2081
analogous
#814F1F #81801F #51811F
triadic
#81801F #1F8180 #801F81
tetradic
#81801F #1F814F #1F2081 #811F51
square
#81801F #1F814F #1F2081 #811F51
split-complementary
#81801F #1F5181 #4F1F81
monochromatic
#1E1E07 #504F13 #81801F #B2B12B #D3D147

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81801F#FFFFFF#000000##000000
##81801F1.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)
#8B7A0A
Deuteranopia (green-blind)
#8C7E27
Tritanopia (blue-blind)
#8B776E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #81801f;
/* rgb */ color: rgb(129, 128, 31);
/* oklch */ color: oklch(58.3% 0.115 108.9);
Tailwind
colors: {
  custom: {
    50: '#a9a463',
    500: '#81801f',
    950: '#000000',
  },
}
SCSS
$custom: #81801f;
$custom-light: #a9a463;
$custom-dark: #000000;
JSON
{
  "hex": "#81801f",
  "rgb": {
    "r": 129,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 59.388,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.11452,
    "h": 108.9
  },
  "luminance": 0.20204
}

Semantic roles & 50–950 ramp

primary
#81801F
secondary
#4849B4
accent
#45E443
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #81801F

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

Preview Lab → · Contrast checker → · Palette generator →

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