#81791F#81791F

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

Color values

HEX#81791F
RGBrgb(129, 121, 31)
HSLhsl(55, 61%, 31%)
HSVhsv(55, 76%, 51%)
CMYKcmyk(0%, 6.2%, 76%, 49.4%)
CIE-LABlab(50.03, -7.73, 47.32)
CIE-LCHlch(50.03, 47.95, 99.27°)
OKLaboklab(56.66% -0.0263 0.1043)
OKLCHoklch(56.66% 0.108 104.1)
XYZxyz(16.1387, 18.4415, 4.0055)
Luminance0.1844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81791F #1F2781
analogous
#81481F #81791F #58811F
triadic
#81791F #1F8179 #791F81
tetradic
#81791F #1F8148 #1F2781 #811F58
square
#81791F #1F8148 #1F2781 #811F58
split-complementary
#81791F #1F5881 #481F81
monochromatic
#1E1C07 #504B13 #81791F #B2A72B #D3C847

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81791F#FFFFFF#000000##000000
##81791F1.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)
#84750E
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#8B7068
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #81791f;
/* rgb */ color: rgb(129, 121, 31);
/* oklch */ color: oklch(56.7% 0.108 104.1);
Tailwind
colors: {
  custom: {
    50: '#a99f62',
    500: '#81791f',
    950: '#000000',
  },
}
SCSS
$custom: #81791f;
$custom-light: #a99f62;
$custom-dark: #000000;
JSON
{
  "hex": "#81791f",
  "rgb": {
    "r": 129,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 55.102,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56656,
    "c": 0.10753,
    "h": 104.1
  },
  "luminance": 0.18441
}

Semantic roles & 50–950 ramp

primary
#81791F
secondary
#4851B4
accent
#51E443
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #81791F

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

Preview Lab → · Contrast checker → · Palette generator →

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