#51BA2F#51BA2F

#51BA2F is a light, vivid green. Relative luminance 0.371; OKLCH L 70.0% C 0.198 H 139.4°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#51BA2F
RGBrgb(81, 186, 47)
HSLhsl(105, 60%, 46%)
HSVhsv(105, 75%, 73%)
CMYKcmyk(56.5%, 0%, 74.7%, 27.1%)
CIE-LABlab(67.33, -54.70, 57.49)
CIE-LCHlch(67.33, 79.35, 133.58°)
OKLaboklab(70.03% -0.1505 0.1292)
OKLCHoklch(70.03% 0.198 139.4)
XYZxyz(21.4644, 37.0706, 8.7130)
Luminance0.3707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51BA2F #982FBA
analogous
#96BA2F #51BA2F #2FBA52
triadic
#51BA2F #2F51BA #BA2F51
tetradic
#51BA2F #2F96BA #982FBA #BA522F
square
#51BA2F #2F96BA #982FBA #BA522F
split-complementary
#51BA2F #522FBA #BA2F96
monochromatic
#265816 #3C8923 #51BA2F #72D353 #9AE084

Accessibility & contrast

On white

2.50
#51BA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#51BA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51BA2F
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51BA2F#FFFFFF#000000##000000
##51BA2F1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#B2A13E
Tritanopia (blue-blind)
#46B49F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #51ba2f;
/* rgb */ color: rgb(81, 186, 47);
/* oklch */ color: oklch(70.0% 0.198 139.4);
Tailwind
colors: {
  custom: {
    50: '#8dd071',
    500: '#51ba2f',
    950: '#000000',
  },
}
SCSS
$custom: #51ba2f;
$custom-light: #8dd071;
$custom-dark: #000000;
JSON
{
  "hex": "#51ba2f",
  "rgb": {
    "r": 81,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 105.324,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70025,
    "c": 0.19838,
    "h": 139.4
  },
  "luminance": 0.37072
}

Semantic roles & 50–950 ramp

primary
#51BA2F
secondary
#B67CC9
accent
#45E3BC
background
#F9FCF7
surface
#F1F9ED
border
#CBD2C8
text
#0D1408
muted
#7E827B

Preview Lab

Preview with #51BA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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