#51B42C#51B42C

#51B42C is a light, vivid green. Relative luminance 0.346; OKLCH L 68.4% C 0.193 H 138.8°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#51B42C
RGBrgb(81, 180, 44)
HSLhsl(104, 61%, 44%)
HSVhsv(104, 76%, 71%)
CMYKcmyk(55%, 0%, 75.6%, 29.4%)
CIE-LABlab(65.41, -52.70, 56.63)
CIE-LCHlch(65.41, 77.35, 132.94°)
OKLaboklab(68.44% -0.1453 0.127)
OKLCHoklch(68.44% 0.193 138.8)
XYZxyz(20.1684, 34.5721, 7.9927)
Luminance0.3457 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B42C #8F2CB4
analogous
#95B42C #51B42C #2CB44B
triadic
#51B42C #2C51B4 #B42C51
tetradic
#51B42C #2C95B4 #8F2CB4 #B44B2C
square
#51B42C #2C95B4 #8F2CB4 #B44B2C
split-complementary
#51B42C #4B2CB4 #B42C95
monochromatic
#255214 #3B8320 #51B42C #6FD34A #97DF7C

Accessibility & contrast

On white

2.65
#51B42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#51B42C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B42C
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B42C#FFFFFF#000000##000000
##51B42C1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A40E
Deuteranopia (green-blind)
#AD9C3B
Tritanopia (blue-blind)
#47AE9A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51b42c;
/* rgb */ color: rgb(81, 180, 44);
/* oklch */ color: oklch(68.4% 0.193 138.8);
Tailwind
colors: {
  custom: {
    50: '#8ccb6f',
    500: '#51b42c',
    950: '#000000',
  },
}
SCSS
$custom: #51b42c;
$custom-light: #8ccb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#51b42c",
  "rgb": {
    "r": 81,
    "g": 180,
    "b": 44
  },
  "hsl": {
    "h": 103.676,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68439,
    "c": 0.19299,
    "h": 138.8
  },
  "luminance": 0.34574
}

Semantic roles & 50–950 ramp

primary
#51B42C
secondary
#B175C7
accent
#44E4B8
background
#F9FCF7
surface
#F1F9ED
border
#CBD2C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #51B42C

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

Preview Lab → · Contrast checker → · Palette generator →

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