#51B423#51B423

#51B423 is a light, vivid green. Relative luminance 0.345; OKLCH L 68.4% C 0.197 H 138.2°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#51B423
RGBrgb(81, 180, 35)
HSLhsl(101, 67%, 42%)
HSVhsv(101, 81%, 71%)
CMYKcmyk(55%, 0%, 80.6%, 29.4%)
CIE-LABlab(65.37, -53.24, 59.42)
CIE-LCHlch(65.37, 79.78, 131.86°)
OKLaboklab(68.38% -0.1472 0.1316)
OKLCHoklch(68.38% 0.197 138.2)
XYZxyz(20.0172, 34.5116, 7.1964)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B423 #8623B4
analogous
#99B423 #51B423 #23B43E
triadic
#51B423 #2351B4 #B42351
tetradic
#51B423 #2399B4 #8623B4 #B43E23
square
#51B423 #2399B4 #8623B4 #B43E23
split-complementary
#51B423 #3E23B4 #B42399
monochromatic
#234E0F #3A8119 #51B423 #6DD93B #93E36E

Accessibility & contrast

On white

2.66
#51B423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#51B423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B423
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B423#FFFFFF#000000##000000
##51B4231.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AD9C34
Tritanopia (blue-blind)
#48AE9A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51b423;
/* rgb */ color: rgb(81, 180, 35);
/* oklch */ color: oklch(68.4% 0.197 138.2);
Tailwind
colors: {
  custom: {
    50: '#8dcb6b',
    500: '#51b423',
    950: '#000000',
  },
}
SCSS
$custom: #51b423;
$custom-light: #8dcb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#51b423",
  "rgb": {
    "r": 81,
    "g": 180,
    "b": 35
  },
  "hsl": {
    "h": 100.966,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68384,
    "c": 0.19747,
    "h": 138.2
  },
  "luminance": 0.34513
}

Semantic roles & 50–950 ramp

primary
#51B423
secondary
#AB69C9
accent
#3DEAB3
background
#F9FCF6
surface
#F1F9EC
border
#CBD2C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51B423

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

Preview Lab → · Contrast checker → · Palette generator →

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