#51A223#51A223

#51A223 is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 63.7% C 0.176 H 137.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#51A223
RGBrgb(81, 162, 35)
HSLhsl(98, 64%, 39%)
HSVhsv(98, 78%, 64%)
CMYKcmyk(50%, 0%, 78.4%, 36.5%)
CIE-LABlab(59.63, -46.40, 54.02)
CIE-LCHlch(59.63, 71.21, 130.66°)
OKLaboklab(63.65% -0.1289 0.1203)
OKLCHoklch(63.65% 0.176 137)
XYZxyz(16.6165, 27.7102, 6.0628)
Luminance0.2771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A223 #7423A2
analogous
#90A223 #51A223 #23A234
triadic
#51A223 #2351A2 #A22351
tetradic
#51A223 #2390A2 #7423A2 #A23423
square
#51A223 #2390A2 #7423A2 #A23423
split-complementary
#51A223 #3423A2 #A22390
monochromatic
#1F3D0D #387018 #51A223 #6BD230 #8FDD62

Accessibility & contrast

On white

3.21
#51A223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#51A223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A223
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A223#FFFFFF#000000##000000
##51A2231.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#4C9C8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #51a223;
/* rgb */ color: rgb(81, 162, 35);
/* oklch */ color: oklch(63.7% 0.176 137.0);
Tailwind
colors: {
  custom: {
    50: '#8abe68',
    500: '#51a223',
    950: '#000000',
  },
}
SCSS
$custom: #51a223;
$custom-light: #8abe68;
$custom-dark: #000000;
JSON
{
  "hex": "#51a223",
  "rgb": {
    "r": 81,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 98.268,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63654,
    "c": 0.17627,
    "h": 137
  },
  "luminance": 0.27711
}

Semantic roles & 50–950 ramp

primary
#51A223
secondary
#9E5EC2
accent
#40E7AB
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #51A223

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

Preview Lab → · Contrast checker → · Palette generator →

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