#81A42C#81A42C

#81A42C is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 67.0% C 0.149 H 124.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#81A42C
RGBrgb(129, 164, 44)
HSLhsl(78, 58%, 41%)
HSVhsv(78, 73%, 64%)
CMYKcmyk(21.3%, 0%, 73.2%, 35.7%)
CIE-LABlab(62.84, -29.25, 54.90)
CIE-LCHlch(62.84, 62.20, 118.04°)
OKLaboklab(66.97% -0.0848 0.1226)
OKLCHoklch(66.97% 0.149 124.7)
XYZxyz(22.7835, 31.3997, 7.2428)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81A42C #4F2CA4
analogous
#A48B2C #81A42C #45A42C
triadic
#81A42C #2C81A4 #A42C81
tetradic
#81A42C #2CA48B #4F2CA4 #A42C45
square
#81A42C #2CA48B #4F2CA4 #A42C45
split-complementary
#81A42C #2C45A4 #8B2CA4
monochromatic
#354312 #5B741F #81A42C #A4CC41 #BBD971

Accessibility & contrast

On white

2.88
#81A42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#81A42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81A42C
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81A42C#FFFFFF#000000##000000
##81A42C1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9916
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#879C8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #81a42c;
/* rgb */ color: rgb(129, 164, 44);
/* oklch */ color: oklch(67.0% 0.149 124.7);
Tailwind
colors: {
  custom: {
    50: '#a9bf6e',
    500: '#81a42c',
    950: '#000000',
  },
}
SCSS
$custom: #81a42c;
$custom-light: #a9bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#81a42c",
  "rgb": {
    "r": 129,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 77.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66974,
    "c": 0.14901,
    "h": 124.7
  },
  "luminance": 0.314
}

Semantic roles & 50–950 ramp

primary
#81A42C
secondary
#846BC0
accent
#47E174
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #81A42C

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

Preview Lab → · Contrast checker → · Palette generator →

#81A42C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva