#81771B#81771B

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

Color values

HEX#81771B
RGBrgb(129, 119, 27)
HSLhsl(54, 65%, 31%)
HSVhsv(54, 79%, 51%)
CMYKcmyk(0%, 7.8%, 79.1%, 49.4%)
CIE-LABlab(49.42, -6.80, 48.23)
CIE-LCHlch(49.42, 48.70, 98.02°)
OKLaboklab(56.17% -0.0241 0.1054)
OKLCHoklch(56.17% 0.108 102.9)
XYZxyz(15.8486, 17.9406, 3.6648)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81771B #1B2581
analogous
#81441B #81771B #58811B
triadic
#81771B #1B8177 #771B81
tetradic
#81771B #1B8144 #1B2581 #811B58
square
#81771B #1B8144 #1B2581 #811B58
split-complementary
#81771B #1B5881 #441B81
monochromatic
#1C1A06 #4E4810 #81771B #B4A626 #D7C83F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81771B#FFFFFF#000000##000000
##81771B1.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)
#837306
Deuteranopia (green-blind)
#867722
Tritanopia (blue-blind)
#8B6E66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #81771b;
/* rgb */ color: rgb(129, 119, 27);
/* oklch */ color: oklch(56.2% 0.108 102.9);
Tailwind
colors: {
  custom: {
    50: '#a99d60',
    500: '#81771b',
    950: '#000000',
  },
}
SCSS
$custom: #81771b;
$custom-light: #a99d60;
$custom-dark: #000000;
JSON
{
  "hex": "#81771b",
  "rgb": {
    "r": 129,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 54.118,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56168,
    "c": 0.10809,
    "h": 102.9
  },
  "luminance": 0.1794
}

Semantic roles & 50–950 ramp

primary
#81771B
secondary
#434EB5
accent
#50E83F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #81771B

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

Preview Lab → · Contrast checker → · Palette generator →

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