#51A823#51A823

#51A823 is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.2% C 0.183 H 137.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#51A823
RGBrgb(81, 168, 35)
HSLhsl(99, 66%, 40%)
HSVhsv(99, 79%, 66%)
CMYKcmyk(51.8%, 0%, 79.2%, 34.1%)
CIE-LABlab(61.55, -48.73, 55.84)
CIE-LCHlch(61.55, 74.11, 131.11°)
OKLaboklab(65.23% -0.1351 0.1241)
OKLCHoklch(65.23% 0.183 137.4)
XYZxyz(17.6988, 29.8746, 6.4235)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A823 #7A23A8
analogous
#94A823 #51A823 #23A838
triadic
#51A823 #2351A8 #A82351
tetradic
#51A823 #2394A8 #7A23A8 #A83823
square
#51A823 #2394A8 #7A23A8 #A83823
split-complementary
#51A823 #3823A8 #A82394
monochromatic
#20430E #397518 #51A823 #6BD534 #90DF66

Accessibility & contrast

On white

3.01
#51A823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#51A823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A823
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A823#FFFFFF#000000##000000
##51A8231.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A29232
Tritanopia (blue-blind)
#4BA28F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #51a823;
/* rgb */ color: rgb(81, 168, 35);
/* oklch */ color: oklch(65.2% 0.183 137.4);
Tailwind
colors: {
  custom: {
    50: '#8bc269',
    500: '#51a823',
    950: '#000000',
  },
}
SCSS
$custom: #51a823;
$custom-light: #8bc269;
$custom-dark: #000000;
JSON
{
  "hex": "#51a823",
  "rgb": {
    "r": 81,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 99.248,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65234,
    "c": 0.18346,
    "h": 137.4
  },
  "luminance": 0.29876
}

Semantic roles & 50–950 ramp

primary
#51A823
secondary
#A362C5
accent
#3FE8AE
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #51A823

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

Preview Lab → · Contrast checker → · Palette generator →

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