#51AF34#51AF34

#51AF34 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.2% C 0.182 H 139.3°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#51AF34
RGBrgb(81, 175, 52)
HSLhsl(106, 54%, 45%)
HSVhsv(106, 70%, 69%)
CMYKcmyk(53.7%, 0%, 70.3%, 31.4%)
CIE-LABlab(63.88, -50.22, 52.14)
CIE-LCHlch(63.88, 72.39, 133.92°)
OKLaboklab(67.19% -0.1381 0.1187)
OKLCHoklch(67.19% 0.182 139.3)
XYZxyz(19.3424, 32.6557, 8.5321)
Luminance0.3266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AF34 #9234AF
analogous
#8EAF34 #51AF34 #34AF55
triadic
#51AF34 #3451AF #AF3451
tetradic
#51AF34 #348EAF #9234AF #AF5534
square
#51AF34 #348EAF #9234AF #AF5534
split-complementary
#51AF34 #5534AF #AF348E
monochromatic
#255118 #3B8026 #51AF34 #70CC54 #98DA83

Accessibility & contrast

On white

2.79
#51AF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#51AF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AF34
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AF34#FFFFFF#000000##000000
##51AF341.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A021
Deuteranopia (green-blind)
#A89840
Tritanopia (blue-blind)
#48A996
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #51af34;
/* rgb */ color: rgb(81, 175, 52);
/* oklch */ color: oklch(67.2% 0.182 139.3);
Tailwind
colors: {
  custom: {
    50: '#8bc872',
    500: '#51af34',
    950: '#000000',
  },
}
SCSS
$custom: #51af34;
$custom-light: #8bc872;
$custom-dark: #000000;
JSON
{
  "hex": "#51af34",
  "rgb": {
    "r": 81,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 105.854,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67192,
    "c": 0.18213,
    "h": 139.3
  },
  "luminance": 0.32657
}

Semantic roles & 50–950 ramp

primary
#51AF34
secondary
#B37BC4
accent
#4ADEBB
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #51AF34

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

Preview Lab → · Contrast checker → · Palette generator →

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