#81842E#81842E

#81842E is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.3% C 0.108 H 111.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#81842E
RGBrgb(129, 132, 46)
HSLhsl(62, 48%, 35%)
HSVhsv(62, 65%, 52%)
CMYKcmyk(2.3%, 0%, 65.2%, 48.2%)
CIE-LABlab(53.35, -12.86, 44.44)
CIE-LCHlch(53.35, 46.27, 106.14°)
OKLaboklab(59.34% -0.0391 0.1009)
OKLCHoklch(59.34% 0.108 111.2)
XYZxyz(17.7982, 21.3673, 5.7710)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81842E #312E84
analogous
#845C2E #81842E #56842E
triadic
#81842E #2E8184 #842E81
tetradic
#81842E #2E845C #312E84 #842E56
square
#81842E #2E845C #312E84 #842E56
split-complementary
#81842E #2E5684 #5C2E84
monochromatic
#28290E #55571E #81842E #ADB13E #C5C964

Accessibility & contrast

On white

3.98
#81842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#81842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81842E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81842E#FFFFFF#000000##000000
##81842E1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E23
Deuteranopia (green-blind)
#8F8134
Tritanopia (blue-blind)
#8A7C72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #81842e;
/* rgb */ color: rgb(129, 132, 46);
/* oklch */ color: oklch(59.3% 0.108 111.2);
Tailwind
colors: {
  custom: {
    50: '#a8a76b',
    500: '#81842e',
    950: '#000000',
  },
}
SCSS
$custom: #81842e;
$custom-light: #a8a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#81842e",
  "rgb": {
    "r": 129,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 62.093,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5934,
    "c": 0.10819,
    "h": 111.2
  },
  "luminance": 0.21367
}

Semantic roles & 50–950 ramp

primary
#81842E
secondary
#615EB0
accent
#50D855
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #81842E

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

Preview Lab → · Contrast checker → · Palette generator →

#81842E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva