#51A117#51A117

#51A117 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#51A117
RGBrgb(81, 161, 23)
HSLhsl(95, 75%, 36%)
HSVhsv(95, 86%, 63%)
CMYKcmyk(49.7%, 0%, 85.7%, 36.9%)
CIE-LABlab(59.25, -46.61, 57.08)
CIE-LCHlch(59.25, 73.69, 129.23°)
OKLaboklab(63.33% -0.1301 0.1249)
OKLCHoklch(63.33% 0.18 136.2)
XYZxyz(16.2924, 27.2998, 5.2213)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A117 #6717A1
analogous
#96A117 #51A117 #17A122
triadic
#51A117 #1751A1 #A11751
tetradic
#51A117 #1796A1 #6717A1 #A12217
square
#51A117 #1796A1 #6717A1 #A12217
split-complementary
#51A117 #2217A1 #A11796
monochromatic
#1B3608 #366B0F #51A117 #6CD71F #8DE64D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51A117#FFFFFF#000000##000000
##51A1171.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)
#9D8C29
Tritanopia (blue-blind)
#4D9B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #51a117;
/* rgb */ color: rgb(81, 161, 23);
/* oklch */ color: oklch(63.3% 0.180 136.2);
Tailwind
colors: {
  custom: {
    50: '#8abd63',
    500: '#51a117',
    950: '#000000',
  },
}
SCSS
$custom: #51a117;
$custom-light: #8abd63;
$custom-dark: #000000;
JSON
{
  "hex": "#51a117",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 23
  },
  "hsl": {
    "h": 94.783,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63328,
    "c": 0.18038,
    "h": 136.2
  },
  "luminance": 0.27301
}

Semantic roles & 50–950 ramp

primary
#51A117
secondary
#944CC7
accent
#36F2A3
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #51A117

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

Preview Lab → · Contrast checker → · Palette generator →

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