#51AF26#51AF26

#51AF26 is a light, vivid green. Relative luminance 0.325; OKLCH L 67.1% C 0.190 H 138.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#51AF26
RGBrgb(81, 175, 38)
HSLhsl(101, 64%, 42%)
HSVhsv(101, 78%, 69%)
CMYKcmyk(53.7%, 0%, 78.3%, 31.4%)
CIE-LABlab(63.79, -51.21, 57.03)
CIE-LCHlch(63.79, 76.65, 131.92°)
OKLaboklab(67.09% -0.1416 0.127)
OKLCHoklch(67.09% 0.19 138.1)
XYZxyz(19.0725, 32.5477, 7.1106)
Luminance0.3255 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AF26 #8426AF
analogous
#96AF26 #51AF26 #26AF40
triadic
#51AF26 #2651AF #AF2651
tetradic
#51AF26 #2696AF #8426AF #AF4026
square
#51AF26 #2696AF #8426AF #AF4026
split-complementary
#51AF26 #4026AF #AF2696
monochromatic
#224A10 #3A7D1B #51AF26 #6DD53D #93E070

Accessibility & contrast

On white

2.80
#51AF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#51AF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AF26
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AF26#FFFFFF#000000##000000
##51AF261.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#49A995
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #51af26;
/* rgb */ color: rgb(81, 175, 38);
/* oklch */ color: oklch(67.1% 0.190 138.1);
Tailwind
colors: {
  custom: {
    50: '#8cc86b',
    500: '#51af26',
    950: '#000000',
  },
}
SCSS
$custom: #51af26;
$custom-light: #8cc86b;
$custom-dark: #000000;
JSON
{
  "hex": "#51af26",
  "rgb": {
    "r": 81,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 101.168,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67091,
    "c": 0.19025,
    "h": 138.1
  },
  "luminance": 0.32549
}

Semantic roles & 50–950 ramp

primary
#51AF26
secondary
#AA6AC7
accent
#40E7B3
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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