#51B22D#51B22D

#51B22D is a light, vivid green. Relative luminance 0.338; OKLCH L 67.9% C 0.190 H 138.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#51B22D
RGBrgb(81, 178, 45)
HSLhsl(104, 60%, 44%)
HSVhsv(104, 75%, 70%)
CMYKcmyk(54.5%, 0%, 74.7%, 30.2%)
CIE-LABlab(64.79, -51.88, 55.66)
CIE-LCHlch(64.79, 76.09, 132.99°)
OKLaboklab(67.92% -0.143 0.1251)
OKLCHoklch(67.92% 0.19 138.8)
XYZxyz(19.7866, 33.7780, 7.9592)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B22D #8E2DB2
analogous
#93B22D #51B22D #2DB24B
triadic
#51B22D #2D51B2 #B22D51
tetradic
#51B22D #2D93B2 #8E2DB2 #B24B2D
square
#51B22D #2D93B2 #8E2DB2 #B24B2D
split-complementary
#51B22D #4B2DB2 #B22D93
monochromatic
#255014 #3B8121 #51B22D #6FD14B #96DE7C

Accessibility & contrast

On white

2.71
#51B22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#51B22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B22D
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B22D#FFFFFF#000000##000000
##51B22D1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A212
Deuteranopia (green-blind)
#AB9A3B
Tritanopia (blue-blind)
#48AC98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #51b22d;
/* rgb */ color: rgb(81, 178, 45);
/* oklch */ color: oklch(67.9% 0.190 138.8);
Tailwind
colors: {
  custom: {
    50: '#8cca6f',
    500: '#51b22d',
    950: '#000000',
  },
}
SCSS
$custom: #51b22d;
$custom-light: #8cca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#51b22d",
  "rgb": {
    "r": 81,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 103.759,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67923,
    "c": 0.19005,
    "h": 138.8
  },
  "luminance": 0.3378
}

Semantic roles & 50–950 ramp

primary
#51B22D
secondary
#B075C6
accent
#45E3B8
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #51B22D

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

Preview Lab → · Contrast checker → · Palette generator →

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