#51B231#51B231

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

Color values

HEX#51B231
RGBrgb(81, 178, 49)
HSLhsl(105, 57%, 45%)
HSVhsv(105, 72%, 70%)
CMYKcmyk(54.5%, 0%, 72.5%, 30.2%)
CIE-LABlab(64.81, -51.59, 54.24)
CIE-LCHlch(64.81, 74.86, 133.56°)
OKLaboklab(67.95% -0.142 0.1227)
OKLCHoklch(67.95% 0.188 139.2)
XYZxyz(19.8673, 33.8103, 8.3842)
Luminance0.3381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B231 #9231B2
analogous
#92B231 #51B231 #31B251
triadic
#51B231 #3151B2 #B23151
tetradic
#51B231 #3192B2 #9231B2 #B25131
square
#51B231 #3192B2 #9231B2 #B25131
split-complementary
#51B231 #5131B2 #B23192
monochromatic
#255217 #3B8224 #51B231 #70CF51 #98DC81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51B231#FFFFFF#000000##000000
##51B2311.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)
#B7A21A
Deuteranopia (green-blind)
#AB9A3E
Tritanopia (blue-blind)
#47AC99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #51b231;
/* rgb */ color: rgb(81, 178, 49);
/* oklch */ color: oklch(68.0% 0.188 139.2);
Tailwind
colors: {
  custom: {
    50: '#8cca71',
    500: '#51b231',
    950: '#000000',
  },
}
SCSS
$custom: #51b231;
$custom-light: #8cca71;
$custom-dark: #000000;
JSON
{
  "hex": "#51b231",
  "rgb": {
    "r": 81,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 105.116,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67952,
    "c": 0.1877,
    "h": 139.2
  },
  "luminance": 0.33812
}

Semantic roles & 50–950 ramp

primary
#51B231
secondary
#B379C5
accent
#48E0BA
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #51B231

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

Preview Lab → · Contrast checker → · Palette generator →

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