#51A021#51A021

#51A021 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.1% C 0.175 H 136.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#51A021
RGBrgb(81, 160, 33)
HSLhsl(97, 66%, 38%)
HSVhsv(97, 79%, 63%)
CMYKcmyk(49.4%, 0%, 79.4%, 37.3%)
CIE-LABlab(58.97, -45.72, 54.04)
CIE-LCHlch(58.97, 70.79, 130.24°)
OKLaboklab(63.11% -0.1272 0.12)
OKLCHoklch(63.11% 0.175 136.7)
XYZxyz(16.2382, 26.9996, 5.7943)
Luminance0.2700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A021 #7021A0
analogous
#90A021 #51A021 #21A031
triadic
#51A021 #2151A0 #A02151
tetradic
#51A021 #2190A0 #7021A0 #A03121
square
#51A021 #2190A0 #7021A0 #A03121
split-complementary
#51A021 #3121A0 #A02190
monochromatic
#1E3B0C #376D17 #51A021 #6BD32B #8EDE5E

Accessibility & contrast

On white

3.28
#51A021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#51A021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A021
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A021#FFFFFF#000000##000000
##51A0211.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#4D9A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #51a021;
/* rgb */ color: rgb(81, 160, 33);
/* oklch */ color: oklch(63.1% 0.175 136.7);
Tailwind
colors: {
  custom: {
    50: '#8abd67',
    500: '#51a021',
    950: '#000000',
  },
}
SCSS
$custom: #51a021;
$custom-light: #8abd67;
$custom-dark: #000000;
JSON
{
  "hex": "#51a021",
  "rgb": {
    "r": 81,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 97.323,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63114,
    "c": 0.17487,
    "h": 136.7
  },
  "luminance": 0.27001
}

Semantic roles & 50–950 ramp

primary
#51A021
secondary
#9B5BC2
accent
#3FE9A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #51A021

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

Preview Lab → · Contrast checker → · Palette generator →

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