#81841F#81841F

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

Color values

HEX#81841F
RGBrgb(129, 132, 31)
HSLhsl(62, 62%, 32%)
HSVhsv(62, 77%, 52%)
CMYKcmyk(2.3%, 0%, 76.5%, 48.2%)
CIE-LABlab(53.24, -13.73, 50.35)
CIE-LCHlch(53.24, 52.19, 105.25°)
OKLaboklab(59.22% -0.0431 0.1107)
OKLCHoklch(59.22% 0.119 111.3)
XYZxyz(17.5524, 21.2690, 4.4768)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81841F #221F84
analogous
#84551F #81841F #4F841F
triadic
#81841F #1F8184 #841F81
tetradic
#81841F #1F8455 #221F84 #841F4F
square
#81841F #1F8455 #221F84 #841F4F
split-complementary
#81841F #1F4F84 #551F84
monochromatic
#202108 #515213 #81841F #B1B62B #D0D449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81841F#FFFFFF#000000##000000
##81841F1.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)
#8F7E08
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#8A7B71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #81841f;
/* rgb */ color: rgb(129, 132, 31);
/* oklch */ color: oklch(59.2% 0.119 111.3);
Tailwind
colors: {
  custom: {
    50: '#a9a763',
    500: '#81841f',
    950: '#000000',
  },
}
SCSS
$custom: #81841f;
$custom-light: #a9a763;
$custom-dark: #000000;
JSON
{
  "hex": "#81841f",
  "rgb": {
    "r": 129,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 61.782,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59221,
    "c": 0.11878,
    "h": 111.3
  },
  "luminance": 0.21269
}

Semantic roles & 50–950 ramp

primary
#81841F
secondary
#4B48B7
accent
#43E548
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #81841F

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

Preview Lab → · Contrast checker → · Palette generator →

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