#81791E#81791E

#81791E is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.108 H 104.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#81791E
RGBrgb(129, 121, 30)
HSLhsl(55, 62%, 31%)
HSVhsv(55, 77%, 51%)
CMYKcmyk(0%, 6.2%, 76.7%, 49.4%)
CIE-LABlab(50.02, -7.78, 47.69)
CIE-LCHlch(50.02, 48.32, 99.26°)
OKLaboklab(56.65% -0.0265 0.1049)
OKLCHoklch(56.65% 0.108 104.2)
XYZxyz(16.1257, 18.4363, 3.9372)
Luminance0.1844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81791E #1E2681
analogous
#81471E #81791E #57811E
triadic
#81791E #1E8179 #791E81
tetradic
#81791E #1E8147 #1E2681 #811E57
square
#81791E #1E8147 #1E2681 #811E57
split-complementary
#81791E #1E5781 #471E81
monochromatic
#1E1C07 #4F4A12 #81791E #B3A82A #D4C846

Accessibility & contrast

On white

4.48
#81791E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#81791E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81791E
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81791E#FFFFFF#000000##000000
##81791E1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84750C
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#8B7068
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #81791e;
/* rgb */ color: rgb(129, 121, 30);
/* oklch */ color: oklch(56.6% 0.108 104.2);
Tailwind
colors: {
  custom: {
    50: '#a99f61',
    500: '#81791e',
    950: '#000000',
  },
}
SCSS
$custom: #81791e;
$custom-light: #a99f61;
$custom-dark: #000000;
JSON
{
  "hex": "#81791e",
  "rgb": {
    "r": 129,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 55.152,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56649,
    "c": 0.10816,
    "h": 104.2
  },
  "luminance": 0.18436
}

Semantic roles & 50–950 ramp

primary
#81791E
secondary
#4750B4
accent
#50E542
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #81791E

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

Preview Lab → · Contrast checker → · Palette generator →

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