#81841B#81841B

#81841B is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.2% C 0.121 H 111.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#81841B
RGBrgb(129, 132, 27)
HSLhsl(62, 66%, 31%)
HSVhsv(62, 80%, 52%)
CMYKcmyk(2.3%, 0%, 79.5%, 48.2%)
CIE-LABlab(53.22, -13.90, 51.68)
CIE-LCHlch(53.22, 53.52, 105.06°)
OKLaboklab(59.2% -0.0439 0.1128)
OKLCHoklch(59.2% 0.121 111.3)
XYZxyz(17.5030, 21.2493, 4.2162)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81841B #1E1B84
analogous
#84521B #81841B #4C841B
triadic
#81841B #1B8184 #841B81
tetradic
#81841B #1B8452 #1E1B84 #841B4C
square
#81841B #1B8452 #1E1B84 #841B4C
split-complementary
#81841B #1B4C84 #521B84
monochromatic
#1E1E06 #4F5111 #81841B #B3B725 #D4D841

Accessibility & contrast

On white

4.00
#81841B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#81841B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81841B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81841B#FFFFFF#000000##000000
##81841B1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#8A7B71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #81841b;
/* rgb */ color: rgb(129, 132, 27);
/* oklch */ color: oklch(59.2% 0.121 111.3);
Tailwind
colors: {
  custom: {
    50: '#a9a761',
    500: '#81841b',
    950: '#000000',
  },
}
SCSS
$custom: #81841b;
$custom-light: #a9a761;
$custom-dark: #000000;
JSON
{
  "hex": "#81841b",
  "rgb": {
    "r": 129,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 61.714,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59197,
    "c": 0.12101,
    "h": 111.3
  },
  "luminance": 0.21249
}

Semantic roles & 50–950 ramp

primary
#81841B
secondary
#4743B7
accent
#3FE944
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #81841B

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

Preview Lab → · Contrast checker → · Palette generator →

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