#51AF2F#51AF2F

#51AF2F is a light, vivid green. Relative luminance 0.326; OKLCH L 67.2% C 0.185 H 138.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#51AF2F
RGBrgb(81, 175, 47)
HSLhsl(104, 58%, 44%)
HSVhsv(104, 73%, 69%)
CMYKcmyk(53.7%, 0%, 73.1%, 31.4%)
CIE-LABlab(63.85, -50.61, 54.00)
CIE-LCHlch(63.85, 74.01, 133.14°)
OKLaboklab(67.15% -0.1395 0.122)
OKLCHoklch(67.15% 0.185 138.8)
XYZxyz(19.2357, 32.6130, 7.9701)
Luminance0.3261 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AF2F #8D2FAF
analogous
#91AF2F #51AF2F #2FAF4D
triadic
#51AF2F #2F51AF #AF2F51
tetradic
#51AF2F #2F91AF #8D2FAF #AF4D2F
square
#51AF2F #2F91AF #8D2FAF #AF4D2F
split-complementary
#51AF2F #4D2FAF #AF2F91
monochromatic
#244F15 #3B7F22 #51AF2F #6FCF4C #96DC7C

Accessibility & contrast

On white

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

On black

7.52
#51AF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AF2F
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AF2F#FFFFFF#000000##000000
##51AF2F1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51af2f;
/* rgb */ color: rgb(81, 175, 47);
/* oklch */ color: oklch(67.2% 0.185 138.8);
Tailwind
colors: {
  custom: {
    50: '#8bc870',
    500: '#51af2f',
    950: '#000000',
  },
}
SCSS
$custom: #51af2f;
$custom-light: #8bc870;
$custom-dark: #000000;
JSON
{
  "hex": "#51af2f",
  "rgb": {
    "r": 81,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 104.063,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67152,
    "c": 0.18528,
    "h": 138.8
  },
  "luminance": 0.32615
}

Semantic roles & 50–950 ramp

primary
#51AF2F
secondary
#AF75C4
accent
#47E1B8
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #51AF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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