#81861B#81861B

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

Color values

HEX#81861B
RGBrgb(129, 134, 27)
HSLhsl(63, 66%, 32%)
HSVhsv(63, 80%, 53%)
CMYKcmyk(3.7%, 0%, 79.9%, 47.5%)
CIE-LABlab(53.81, -14.97, 52.22)
CIE-LCHlch(53.81, 54.32, 106.00°)
OKLaboklab(59.67% -0.0469 0.1139)
OKLCHoklch(59.67% 0.123 112.4)
XYZxyz(17.7768, 21.7969, 4.3075)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81861B #201B86
analogous
#86561B #81861B #4C861B
triadic
#81861B #1B8186 #861B81
tetradic
#81861B #1B8656 #201B86 #861B4C
square
#81861B #1B8656 #201B86 #861B4C
split-complementary
#81861B #1B4C86 #561B86
monochromatic
#1F2006 #505311 #81861B #B2B925 #D2D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81861B#FFFFFF#000000##000000
##81861B1.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)
#918225
Tritanopia (blue-blind)
#8A7D72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #81861b;
/* rgb */ color: rgb(129, 134, 27);
/* oklch */ color: oklch(59.7% 0.123 112.4);
Tailwind
colors: {
  custom: {
    50: '#a9a962',
    500: '#81861b',
    950: '#000000',
  },
}
SCSS
$custom: #81861b;
$custom-light: #a9a962;
$custom-dark: #000000;
JSON
{
  "hex": "#81861b",
  "rgb": {
    "r": 129,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 62.804,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59669,
    "c": 0.12316,
    "h": 112.4
  },
  "luminance": 0.21796
}

Semantic roles & 50–950 ramp

primary
#81861B
secondary
#4944B9
accent
#3EE946
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #81861B

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

Preview Lab → · Contrast checker → · Palette generator →

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