#81771F#81771F

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

Color values

HEX#81771F
RGBrgb(129, 119, 31)
HSLhsl(54, 61%, 31%)
HSVhsv(54, 76%, 51%)
CMYKcmyk(0%, 7.8%, 76%, 49.4%)
CIE-LABlab(49.45, -6.61, 46.77)
CIE-LCHlch(49.45, 47.24, 98.05°)
OKLaboklab(56.19% -0.0231 0.1031)
OKLCHoklch(56.19% 0.106 102.6)
XYZxyz(15.8981, 17.9604, 3.9253)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81771F #1F2981
analogous
#81461F #81771F #5A811F
triadic
#81771F #1F8177 #771F81
tetradic
#81771F #1F8146 #1F2981 #811F5A
square
#81771F #1F8146 #1F2981 #811F5A
split-complementary
#81771F #1F5A81 #461F81
monochromatic
#1E1C07 #504913 #81771F #B2A52B #D3C547

Accessibility & contrast

On white

4.57
#81771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##81771F#FFFFFF#000000##000000
##81771F1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82730F
Deuteranopia (green-blind)
#857825
Tritanopia (blue-blind)
#8B6E66
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #81771f;
/* rgb */ color: rgb(129, 119, 31);
/* oklch */ color: oklch(56.2% 0.106 102.6);
Tailwind
colors: {
  custom: {
    50: '#a99d62',
    500: '#81771f',
    950: '#000000',
  },
}
SCSS
$custom: #81771f;
$custom-light: #a99d62;
$custom-dark: #000000;
JSON
{
  "hex": "#81771f",
  "rgb": {
    "r": 129,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 53.878,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56195,
    "c": 0.10566,
    "h": 102.6
  },
  "luminance": 0.1796
}

Semantic roles & 50–950 ramp

primary
#81771F
secondary
#4853B4
accent
#54E443
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #81771F

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

Preview Lab → · Contrast checker → · Palette generator →

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