#81781A#81781A

#81781A is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.110 H 103.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#81781A
RGBrgb(129, 120, 26)
HSLhsl(55, 66%, 30%)
HSVhsv(55, 80%, 51%)
CMYKcmyk(0%, 7%, 79.8%, 49.4%)
CIE-LABlab(49.71, -7.40, 48.83)
CIE-LCHlch(49.71, 49.39, 98.61°)
OKLaboklab(56.39% -0.0258 0.1065)
OKLCHoklch(56.39% 0.11 103.6)
XYZxyz(15.9569, 18.1753, 3.6448)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81781A #1A2381
analogous
#81441A #81781A #57811A
triadic
#81781A #1A8178 #781A81
tetradic
#81781A #1A8144 #1A2381 #811A57
square
#81781A #1A8144 #1A2381 #811A57
split-complementary
#81781A #1A5781 #441A81
monochromatic
#1B1905 #4E4910 #81781A #B4A724 #D8CA3D

Accessibility & contrast

On white

4.53
#81781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#81781A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81781A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81781A#FFFFFF#000000##000000
##81781A1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847403
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#8B6F66
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #81781a;
/* rgb */ color: rgb(129, 120, 26);
/* oklch */ color: oklch(56.4% 0.110 103.6);
Tailwind
colors: {
  custom: {
    50: '#a99e5f',
    500: '#81781a',
    950: '#000000',
  },
}
SCSS
$custom: #81781a;
$custom-light: #a99e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#81781a",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 54.757,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56392,
    "c": 0.10956,
    "h": 103.6
  },
  "luminance": 0.18175
}

Semantic roles & 50–950 ramp

primary
#81781A
secondary
#424CB5
accent
#4DE93E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #81781A

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

Preview Lab → · Contrast checker → · Palette generator →

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