#81791A#81791A

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

Color values

HEX#81791A
RGBrgb(129, 121, 26)
HSLhsl(55, 66%, 30%)
HSVhsv(55, 80%, 51%)
CMYKcmyk(0%, 6.2%, 79.8%, 49.4%)
CIE-LABlab(50.00, -7.95, 49.10)
CIE-LCHlch(50.00, 49.74, 99.20°)
OKLaboklab(56.62% -0.0274 0.107)
OKLCHoklch(56.62% 0.11 104.4)
XYZxyz(16.0778, 18.4171, 3.6850)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81791A #1A2281
analogous
#81451A #81791A #55811A
triadic
#81791A #1A8179 #791A81
tetradic
#81791A #1A8145 #1A2281 #811A55
square
#81791A #1A8145 #1A2281 #811A55
split-complementary
#81791A #1A5581 #451A81
monochromatic
#1B1905 #4E4910 #81791A #B4A924 #D8CC3D

Accessibility & contrast

On white

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

On black

4.68
#81791A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81791A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81791A#FFFFFF#000000##000000
##81791A1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#847503
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#8B7067
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #81791a;
/* rgb */ color: rgb(129, 121, 26);
/* oklch */ color: oklch(56.6% 0.110 104.4);
Tailwind
colors: {
  custom: {
    50: '#a99f5f',
    500: '#81791a',
    950: '#000000',
  },
}
SCSS
$custom: #81791a;
$custom-light: #a99f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#81791a",
  "rgb": {
    "r": 129,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 55.34,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56623,
    "c": 0.11048,
    "h": 104.4
  },
  "luminance": 0.18416
}

Semantic roles & 50–950 ramp

primary
#81791A
secondary
#424BB5
accent
#4CE93E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #81791A

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

Preview Lab → · Contrast checker → · Palette generator →

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