#81771D#81771D

#81771D is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.2% C 0.107 H 102.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#81771D
RGBrgb(129, 119, 29)
HSLhsl(54, 63%, 31%)
HSVhsv(54, 78%, 51%)
CMYKcmyk(0%, 7.8%, 77.5%, 49.4%)
CIE-LABlab(49.44, -6.71, 47.51)
CIE-LCHlch(49.44, 47.99, 98.04°)
OKLaboklab(56.18% -0.0236 0.1043)
OKLCHoklch(56.18% 0.107 102.8)
XYZxyz(15.8726, 17.9502, 3.7908)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81771D #1D2781
analogous
#81451D #81771D #59811D
triadic
#81771D #1D8177 #771D81
tetradic
#81771D #1D8145 #1D2781 #811D59
square
#81771D #1D8145 #1D2781 #811D59
split-complementary
#81771D #1D5981 #451D81
monochromatic
#1D1B07 #4F4912 #81771D #B3A528 #D5C644

Accessibility & contrast

On white

4.58
#81771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#81771D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81771D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81771D#FFFFFF#000000##000000
##81771D1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82730B
Deuteranopia (green-blind)
#867724
Tritanopia (blue-blind)
#8B6E66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #81771d;
/* rgb */ color: rgb(129, 119, 29);
/* oklch */ color: oklch(56.2% 0.107 102.8);
Tailwind
colors: {
  custom: {
    50: '#a99d61',
    500: '#81771d',
    950: '#000000',
  },
}
SCSS
$custom: #81771d;
$custom-light: #a99d61;
$custom-dark: #000000;
JSON
{
  "hex": "#81771d",
  "rgb": {
    "r": 129,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 54,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56181,
    "c": 0.10691,
    "h": 102.8
  },
  "luminance": 0.17949
}

Semantic roles & 50–950 ramp

primary
#81771D
secondary
#4651B4
accent
#52E641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #81771D

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

Preview Lab → · Contrast checker → · Palette generator →

#81771D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva