#81861A#81861A

#81861A is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.7% C 0.124 H 112.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#81861A
RGBrgb(129, 134, 26)
HSLhsl(63, 68%, 31%)
HSVhsv(63, 81%, 53%)
CMYKcmyk(3.7%, 0%, 80.6%, 47.5%)
CIE-LABlab(53.81, -15.01, 52.52)
CIE-LCHlch(53.81, 54.63, 105.95°)
OKLaboklab(59.66% -0.0471 0.1144)
OKLCHoklch(59.66% 0.124 112.4)
XYZxyz(17.7654, 21.7923, 4.2476)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81861A #1F1A86
analogous
#86551A #81861A #4B861A
triadic
#81861A #1A8186 #861A81
tetradic
#81861A #1A8655 #1F1A86 #861A4B
square
#81861A #1A8655 #1F1A86 #861A4B
split-complementary
#81861A #1A4B86 #551A86
monochromatic
#1E1F06 #505310 #81861A #B2B924 #D3DA40

Accessibility & contrast

On white

3.92
#81861A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#81861A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81861A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81861A#FFFFFF#000000##000000
##81861A1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#8A7D72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #81861a;
/* rgb */ color: rgb(129, 134, 26);
/* oklch */ color: oklch(59.7% 0.124 112.4);
Tailwind
colors: {
  custom: {
    50: '#a9a961',
    500: '#81861a',
    950: '#000000',
  },
}
SCSS
$custom: #81861a;
$custom-light: #a9a961;
$custom-dark: #000000;
JSON
{
  "hex": "#81861a",
  "rgb": {
    "r": 129,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 62.778,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59664,
    "c": 0.12367,
    "h": 112.4
  },
  "luminance": 0.21792
}

Semantic roles & 50–950 ramp

primary
#81861A
secondary
#4842B9
accent
#3DEA45
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #81861A

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

Preview Lab → · Contrast checker → · Palette generator →

#81861A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva