#81981F#81981F

#81981F is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 64.0% C 0.142 H 120.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#81981F
RGBrgb(129, 152, 31)
HSLhsl(71, 66%, 36%)
HSVhsv(71, 80%, 60%)
CMYKcmyk(15.1%, 0%, 79.6%, 40.4%)
CIE-LABlab(59.18, -24.06, 55.83)
CIE-LCHlch(59.18, 60.79, 113.31°)
OKLaboklab(63.99% -0.0716 0.1223)
OKLCHoklch(63.99% 0.142 120.3)
XYZxyz(20.5292, 27.2226, 5.4690)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81981F #361F98
analogous
#98721F #81981F #44981F
triadic
#81981F #1F8198 #981F81
tetradic
#81981F #1F9872 #361F98 #981F44
square
#81981F #1F9872 #361F98 #981F44
split-complementary
#81981F #1F4498 #721F98
monochromatic
#2B320A #566515 #81981F #ACCB29 #C3DC55

Accessibility & contrast

On white

3.26
#81981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#81981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81981F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81981F#FFFFFF#000000##000000
##81981F1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#9F8F2B
Tritanopia (blue-blind)
#899082
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #81981f;
/* rgb */ color: rgb(129, 152, 31);
/* oklch */ color: oklch(64.0% 0.142 120.3);
Tailwind
colors: {
  custom: {
    50: '#a9b666',
    500: '#81981f',
    950: '#000000',
  },
}
SCSS
$custom: #81981f;
$custom-light: #a9b666;
$custom-dark: #000000;
JSON
{
  "hex": "#81981f",
  "rgb": {
    "r": 129,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 71.405,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63991,
    "c": 0.14172,
    "h": 120.3
  },
  "luminance": 0.27223
}

Semantic roles & 50–950 ramp

primary
#81981F
secondary
#6853C0
accent
#3FE95F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #81981F

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

Preview Lab → · Contrast checker → · Palette generator →

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