#51BA2D#51BA2D

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

Color values

HEX#51BA2D
RGBrgb(81, 186, 45)
HSLhsl(105, 61%, 45%)
HSVhsv(105, 76%, 73%)
CMYKcmyk(56.5%, 0%, 75.8%, 27.1%)
CIE-LABlab(67.32, -54.83, 58.16)
CIE-LCHlch(67.32, 79.93, 133.31°)
OKLaboklab(70.01% -0.151 0.1304)
OKLCHoklch(70.01% 0.199 139.2)
XYZxyz(21.4250, 37.0548, 8.5054)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51BA2D #962DBA
analogous
#97BA2D #51BA2D #2DBA50
triadic
#51BA2D #2D51BA #BA2D51
tetradic
#51BA2D #2D97BA #962DBA #BA502D
square
#51BA2D #2D97BA #962DBA #BA502D
split-complementary
#51BA2D #502DBA #BA2D97
monochromatic
#265715 #3C8921 #51BA2D #72D550 #99E081

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51BA2D#FFFFFF#000000##000000
##51BA2D1.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)
#BFA90C
Deuteranopia (green-blind)
#B2A13C
Tritanopia (blue-blind)
#46B49F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #51ba2d;
/* rgb */ color: rgb(81, 186, 45);
/* oklch */ color: oklch(70.0% 0.199 139.2);
Tailwind
colors: {
  custom: {
    50: '#8dd070',
    500: '#51ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #51ba2d;
$custom-light: #8dd070;
$custom-dark: #000000;
JSON
{
  "hex": "#51ba2d",
  "rgb": {
    "r": 81,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 104.681,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70012,
    "c": 0.19947,
    "h": 139.2
  },
  "luminance": 0.37057
}

Semantic roles & 50–950 ramp

primary
#51BA2D
secondary
#B579C9
accent
#44E4BB
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0D1408
muted
#7E827B

Preview Lab

Preview with #51BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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