#51A623#51A623

#51A623 is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 64.7% C 0.181 H 137.3°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#51A623
RGBrgb(81, 166, 35)
HSLhsl(99, 65%, 39%)
HSVhsv(99, 79%, 65%)
CMYKcmyk(51.2%, 0%, 78.9%, 34.9%)
CIE-LABlab(60.91, -47.96, 55.24)
CIE-LCHlch(60.91, 73.15, 130.96°)
OKLaboklab(64.71% -0.1331 0.1228)
OKLCHoklch(64.71% 0.181 137.3)
XYZxyz(17.3324, 29.1419, 6.3014)
Luminance0.2914 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A623 #7823A6
analogous
#93A623 #51A623 #23A636
triadic
#51A623 #2351A6 #A62351
tetradic
#51A623 #2393A6 #7823A6 #A63623
square
#51A623 #2393A6 #7823A6 #A63623
split-complementary
#51A623 #3623A6 #A62393
monochromatic
#20410E #387318 #51A623 #6BD432 #90DF65

Accessibility & contrast

On white

3.08
#51A623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#51A623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A623
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A623#FFFFFF#000000##000000
##51A6231.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A19032
Tritanopia (blue-blind)
#4BA08E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #51a623;
/* rgb */ color: rgb(81, 166, 35);
/* oklch */ color: oklch(64.7% 0.181 137.3);
Tailwind
colors: {
  custom: {
    50: '#8ac169',
    500: '#51a623',
    950: '#000000',
  },
}
SCSS
$custom: #51a623;
$custom-light: #8ac169;
$custom-dark: #000000;
JSON
{
  "hex": "#51a623",
  "rgb": {
    "r": 81,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 98.931,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64708,
    "c": 0.18108,
    "h": 137.3
  },
  "luminance": 0.29143
}

Semantic roles & 50–950 ramp

primary
#51A623
secondary
#A161C4
accent
#40E8AD
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #51A623

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

Preview Lab → · Contrast checker → · Palette generator →

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