#51BA2E#51BA2E

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

Color values

HEX#51BA2E
RGBrgb(81, 186, 46)
HSLhsl(105, 60%, 45%)
HSVhsv(105, 75%, 73%)
CMYKcmyk(56.5%, 0%, 75.3%, 27.1%)
CIE-LABlab(67.32, -54.77, 57.82)
CIE-LCHlch(67.32, 79.64, 133.44°)
OKLaboklab(70.02% -0.1507 0.1298)
OKLCHoklch(70.02% 0.199 139.3)
XYZxyz(21.4445, 37.0626, 8.6080)
Luminance0.3706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51BA2E #972EBA
analogous
#97BA2E #51BA2E #2EBA51
triadic
#51BA2E #2E51BA #BA2E51
tetradic
#51BA2E #2E97BA #972EBA #BA512E
square
#51BA2E #2E97BA #972EBA #BA512E
split-complementary
#51BA2E #512EBA #BA2E97
monochromatic
#265816 #3C8922 #51BA2E #72D451 #9AE082

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51BA2E#FFFFFF#000000##000000
##51BA2E1.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)
#BFA90F
Deuteranopia (green-blind)
#B2A13D
Tritanopia (blue-blind)
#46B49F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #51ba2e;
/* rgb */ color: rgb(81, 186, 46);
/* oklch */ color: oklch(70.0% 0.199 139.3);
Tailwind
colors: {
  custom: {
    50: '#8dd071',
    500: '#51ba2e',
    950: '#000000',
  },
}
SCSS
$custom: #51ba2e;
$custom-light: #8dd071;
$custom-dark: #000000;
JSON
{
  "hex": "#51ba2e",
  "rgb": {
    "r": 81,
    "g": 186,
    "b": 46
  },
  "hsl": {
    "h": 105,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70018,
    "c": 0.19893,
    "h": 139.3
  },
  "luminance": 0.37064
}

Semantic roles & 50–950 ramp

primary
#51BA2E
secondary
#B67BC9
accent
#44E3BC
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0D1408
muted
#7E827B

Preview Lab

Preview with #51BA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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