#51B545#51B545

#51B545 is a light, vivid green. Relative luminance 0.352; OKLCH L 68.9% C 0.177 H 141.6°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#51B545
RGBrgb(81, 181, 69)
HSLhsl(114, 45%, 49%)
HSVhsv(114, 62%, 71%)
CMYKcmyk(55.2%, 0%, 61.9%, 29%)
CIE-LABlab(65.92, -50.89, 47.20)
CIE-LCHlch(65.92, 69.41, 137.16°)
OKLaboklab(68.92% -0.1389 0.1102)
OKLCHoklch(68.92% 0.177 141.6)
XYZxyz(20.9904, 35.2250, 11.3221)
Luminance0.3523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B545 #A945B5
analogous
#89B545 #51B545 #45B571
triadic
#51B545 #4551B5 #B54551
tetradic
#51B545 #4589B5 #A945B5 #B57145
square
#51B545 #4589B5 #A945B5 #B57145
split-complementary
#51B545 #7145B5 #B54589
monochromatic
#295C23 #3D8934 #51B545 #79C86F #A2D99B

Accessibility & contrast

On white

2.61
#51B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#51B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B545
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B545#FFFFFF#000000##000000
##51B5451.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A538
Deuteranopia (green-blind)
#AC9D4E
Tritanopia (blue-blind)
#44B09D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #51b545;
/* rgb */ color: rgb(81, 181, 69);
/* oklch */ color: oklch(68.9% 0.177 141.6);
Tailwind
colors: {
  custom: {
    50: '#8bcc7d',
    500: '#51b545',
    950: '#000000',
  },
}
SCSS
$custom: #51b545;
$custom-light: #8bcc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#51b545",
  "rgb": {
    "r": 81,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 113.571,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.68921,
    "c": 0.17734,
    "h": 141.6
  },
  "luminance": 0.35227
}

Semantic roles & 50–950 ramp

primary
#51B545
secondary
#C091C5
accent
#53D5C7
background
#F9FCF7
surface
#F1F9EE
border
#CBD2C9
text
#0D130A
muted
#7E827C

Preview Lab

Preview with #51B545

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

Preview Lab → · Contrast checker → · Palette generator →

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