#51AB2C#51AB2C

#51AB2C is a light, vivid green. Relative luminance 0.311; OKLCH L 66.1% C 0.182 H 138.3°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#51AB2C
RGBrgb(81, 171, 44)
HSLhsl(103, 59%, 42%)
HSVhsv(103, 74%, 67%)
CMYKcmyk(52.6%, 0%, 74.3%, 32.9%)
CIE-LABlab(62.55, -49.30, 53.80)
CIE-LCHlch(62.55, 72.97, 132.50°)
OKLaboklab(66.08% -0.1361 0.1211)
OKLCHoklch(66.08% 0.182 138.3)
XYZxyz(18.4102, 31.0556, 7.4066)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AB2C #862CAB
analogous
#90AB2C #51AB2C #2CAB47
triadic
#51AB2C #2C51AB #AB2C51
tetradic
#51AB2C #2C90AB #862CAB #AB472C
square
#51AB2C #2C90AB #862CAB #AB472C
split-complementary
#51AB2C #472CAB #AB2C90
monochromatic
#234A13 #3A7A1F #51AB2C #6DCF45 #93DC76

Accessibility & contrast

On white

2.91
#51AB2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#51AB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AB2C
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AB2C#FFFFFF#000000##000000
##51AB2C1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C13
Deuteranopia (green-blind)
#A59439
Tritanopia (blue-blind)
#4AA592
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #51ab2c;
/* rgb */ color: rgb(81, 171, 44);
/* oklch */ color: oklch(66.1% 0.182 138.3);
Tailwind
colors: {
  custom: {
    50: '#8bc56e',
    500: '#51ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #51ab2c;
$custom-light: #8bc56e;
$custom-dark: #000000;
JSON
{
  "hex": "#51ab2c",
  "rgb": {
    "r": 81,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 102.52,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66082,
    "c": 0.18221,
    "h": 138.3
  },
  "luminance": 0.31057
}

Semantic roles & 50–950 ramp

primary
#51AB2C
secondary
#AB6FC3
accent
#46E2B5
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #51AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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