#81771C#81771C

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

Color values

HEX#81771C
RGBrgb(129, 119, 28)
HSLhsl(54, 64%, 31%)
HSVhsv(54, 78%, 51%)
CMYKcmyk(0%, 7.8%, 78.3%, 49.4%)
CIE-LABlab(49.43, -6.75, 47.87)
CIE-LCHlch(49.43, 48.35, 98.03°)
OKLaboklab(56.18% -0.0238 0.1048)
OKLCHoklch(56.18% 0.108 102.8)
XYZxyz(15.8604, 17.9453, 3.7267)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81771C #1C2681
analogous
#81441C #81771C #58811C
triadic
#81771C #1C8177 #771C81
tetradic
#81771C #1C8144 #1C2681 #811C58
square
#81771C #1C8144 #1C2681 #811C58
split-complementary
#81771C #1C5881 #441C81
monochromatic
#1C1A06 #4F4911 #81771C #B3A527 #D6C742

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81771C#FFFFFF#000000##000000
##81771C1.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)
#837308
Deuteranopia (green-blind)
#867723
Tritanopia (blue-blind)
#8B6E66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #81771c;
/* rgb */ color: rgb(129, 119, 28);
/* oklch */ color: oklch(56.2% 0.108 102.8);
Tailwind
colors: {
  custom: {
    50: '#a99d60',
    500: '#81771c',
    950: '#000000',
  },
}
SCSS
$custom: #81771c;
$custom-light: #a99d60;
$custom-dark: #000000;
JSON
{
  "hex": "#81771c",
  "rgb": {
    "r": 129,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 54.059,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56175,
    "c": 0.10751,
    "h": 102.8
  },
  "luminance": 0.17945
}

Semantic roles & 50–950 ramp

primary
#81771C
secondary
#444FB4
accent
#51E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #81771C

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

Preview Lab → · Contrast checker → · Palette generator →

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