#81841C#81841C

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

Color values

HEX#81841C
RGBrgb(129, 132, 28)
HSLhsl(62, 65%, 31%)
HSVhsv(62, 79%, 52%)
CMYKcmyk(2.3%, 0%, 78.8%, 48.2%)
CIE-LABlab(53.23, -13.86, 51.36)
CIE-LCHlch(53.23, 53.20, 105.10°)
OKLaboklab(59.2% -0.0437 0.1123)
OKLCHoklch(59.2% 0.12 111.3)
XYZxyz(17.5147, 21.2540, 4.2782)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81841C #1F1C84
analogous
#84531C #81841C #4D841C
triadic
#81841C #1C8184 #841C81
tetradic
#81841C #1C8453 #1F1C84 #841C4D
square
#81841C #1C8453 #1F1C84 #841C4D
split-complementary
#81841C #1C4D84 #531C84
monochromatic
#1E1F07 #505211 #81841C #B2B627 #D3D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81841C#FFFFFF#000000##000000
##81841C1.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)
#8F7E01
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#8A7B71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #81841c;
/* rgb */ color: rgb(129, 132, 28);
/* oklch */ color: oklch(59.2% 0.120 111.3);
Tailwind
colors: {
  custom: {
    50: '#a9a762',
    500: '#81841c',
    950: '#000000',
  },
}
SCSS
$custom: #81841c;
$custom-light: #a9a762;
$custom-dark: #000000;
JSON
{
  "hex": "#81841c",
  "rgb": {
    "r": 129,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 61.731,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59203,
    "c": 0.12048,
    "h": 111.3
  },
  "luminance": 0.21253
}

Semantic roles & 50–950 ramp

primary
#81841C
secondary
#4845B7
accent
#40E845
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #81841C

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

Preview Lab → · Contrast checker → · Palette generator →

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