#81981B#81981B

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

Color values

HEX#81981B
RGBrgb(129, 152, 27)
HSLhsl(71, 70%, 35%)
HSVhsv(71, 82%, 60%)
CMYKcmyk(15.1%, 0%, 82.2%, 40.4%)
CIE-LABlab(59.16, -24.22, 56.99)
CIE-LCHlch(59.16, 61.92, 113.02°)
OKLaboklab(63.97% -0.0723 0.1241)
OKLCHoklch(63.97% 0.144 120.2)
XYZxyz(20.4797, 27.2028, 5.2085)
Luminance0.2720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81981B #321B98
analogous
#98701B #81981B #43981B
triadic
#81981B #1B8198 #981B81
tetradic
#81981B #1B9870 #321B98 #981B43
square
#81981B #1B9870 #321B98 #981B43
split-complementary
#81981B #1B4398 #701B98
monochromatic
#293009 #556412 #81981B #ADCC24 #C5E04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81981B#FFFFFF#000000##000000
##81981B1.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)
#9F8F28
Tritanopia (blue-blind)
#898F82
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #81981b;
/* rgb */ color: rgb(129, 152, 27);
/* oklch */ color: oklch(64.0% 0.144 120.2);
Tailwind
colors: {
  custom: {
    50: '#a9b664',
    500: '#81981b',
    950: '#000000',
  },
}
SCSS
$custom: #81981b;
$custom-light: #a9b664;
$custom-dark: #000000;
JSON
{
  "hex": "#81981b",
  "rgb": {
    "r": 129,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 71.04,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6397,
    "c": 0.14362,
    "h": 120.2
  },
  "luminance": 0.27203
}

Semantic roles & 50–950 ramp

primary
#81981B
secondary
#624DC2
accent
#3BED5C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #81981B

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

Preview Lab → · Contrast checker → · Palette generator →

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