#51A118#51A118

#51A118 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.3% C 0.180 H 136.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#51A118
RGBrgb(81, 161, 24)
HSLhsl(95, 74%, 36%)
HSVhsv(95, 85%, 63%)
CMYKcmyk(49.7%, 0%, 85.1%, 36.9%)
CIE-LABlab(59.25, -46.57, 56.84)
CIE-LCHlch(59.25, 73.48, 129.33°)
OKLaboklab(63.33% -0.1299 0.1246)
OKLCHoklch(63.33% 0.18 136.2)
XYZxyz(16.3026, 27.3039, 5.2751)
Luminance0.2731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A118 #6818A1
analogous
#96A118 #51A118 #18A123
triadic
#51A118 #1851A1 #A11851
tetradic
#51A118 #1896A1 #6818A1 #A12318
square
#51A118 #1896A1 #6818A1 #A12318
split-complementary
#51A118 #2318A1 #A11896
monochromatic
#1B3608 #366C10 #51A118 #6CD620 #8DE54F

Accessibility & contrast

On white

3.25
#51A118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#51A118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A118
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A118#FFFFFF#000000##000000
##51A1181.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9D8C2A
Tritanopia (blue-blind)
#4D9B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #51a118;
/* rgb */ color: rgb(81, 161, 24);
/* oklch */ color: oklch(63.3% 0.180 136.2);
Tailwind
colors: {
  custom: {
    50: '#8abd64',
    500: '#51a118',
    950: '#000000',
  },
}
SCSS
$custom: #51a118;
$custom-light: #8abd64;
$custom-dark: #000000;
JSON
{
  "hex": "#51a118",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 95.036,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63332,
    "c": 0.18001,
    "h": 136.2
  },
  "luminance": 0.27305
}

Semantic roles & 50–950 ramp

primary
#51A118
secondary
#954EC7
accent
#37F1A3
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #51A118

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

Preview Lab → · Contrast checker → · Palette generator →

#51A118 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva