#81771A#81771A

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

Color values

HEX#81771A
RGBrgb(129, 119, 26)
HSLhsl(54, 66%, 30%)
HSVhsv(54, 80%, 51%)
CMYKcmyk(0%, 7.8%, 79.8%, 49.4%)
CIE-LABlab(49.42, -6.84, 48.57)
CIE-LCHlch(49.42, 49.05, 98.01°)
OKLaboklab(56.16% -0.0243 0.1059)
OKLCHoklch(56.16% 0.109 102.9)
XYZxyz(15.8373, 17.9361, 3.6049)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81771A #1A2481
analogous
#81441A #81771A #57811A
triadic
#81771A #1A8177 #771A81
tetradic
#81771A #1A8144 #1A2481 #811A57
square
#81771A #1A8144 #1A2481 #811A57
split-complementary
#81771A #1A5781 #441A81
monochromatic
#1B1905 #4E4810 #81771A #B4A624 #D8C93D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81771A#FFFFFF#000000##000000
##81771A1.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)
#837304
Deuteranopia (green-blind)
#867721
Tritanopia (blue-blind)
#8B6E66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #81771a;
/* rgb */ color: rgb(129, 119, 26);
/* oklch */ color: oklch(56.2% 0.109 102.9);
Tailwind
colors: {
  custom: {
    50: '#a99d5f',
    500: '#81771a',
    950: '#000000',
  },
}
SCSS
$custom: #81771a;
$custom-light: #a99d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#81771a",
  "rgb": {
    "r": 129,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 54.175,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56162,
    "c": 0.10866,
    "h": 102.9
  },
  "luminance": 0.17935
}

Semantic roles & 50–950 ramp

primary
#81771A
secondary
#424DB5
accent
#4FE93E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #81771A

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

Preview Lab → · Contrast checker → · Palette generator →

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