#51AF2D#51AF2D

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

Color values

HEX#51AF2D
RGBrgb(81, 175, 45)
HSLhsl(103, 59%, 43%)
HSVhsv(103, 74%, 69%)
CMYKcmyk(53.7%, 0%, 74.3%, 31.4%)
CIE-LABlab(63.83, -50.75, 54.71)
CIE-LCHlch(63.83, 74.63, 132.85°)
OKLaboklab(67.14% -0.14 0.1232)
OKLCHoklch(67.14% 0.186 138.7)
XYZxyz(19.1962, 32.5972, 7.7624)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AF2D #8B2DAF
analogous
#92AF2D #51AF2D #2DAF4A
triadic
#51AF2D #2D51AF #AF2D51
tetradic
#51AF2D #2D92AF #8B2DAF #AF4A2D
square
#51AF2D #2D92AF #8B2DAF #AF4A2D
split-complementary
#51AF2D #4A2DAF #AF2D92
monochromatic
#244E14 #3A7E20 #51AF2D #6ED049 #95DD7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51AF2D#FFFFFF#000000##000000
##51AF2D1.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)
#B49F13
Deuteranopia (green-blind)
#A8983A
Tritanopia (blue-blind)
#49A996
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #51af2d;
/* rgb */ color: rgb(81, 175, 45);
/* oklch */ color: oklch(67.1% 0.186 138.7);
Tailwind
colors: {
  custom: {
    50: '#8bc86f',
    500: '#51af2d',
    950: '#000000',
  },
}
SCSS
$custom: #51af2d;
$custom-light: #8bc86f;
$custom-dark: #000000;
JSON
{
  "hex": "#51af2d",
  "rgb": {
    "r": 81,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 103.385,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67137,
    "c": 0.18647,
    "h": 138.7
  },
  "luminance": 0.32599
}

Semantic roles & 50–950 ramp

primary
#51AF2D
secondary
#AE73C5
accent
#46E2B7
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #51AF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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