#51A11F#51A11F
#51A11F is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.4% C 0.177 H 136.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #51A11F |
|---|---|
| RGB | rgb(81, 161, 31) |
| HSL | hsl(97, 68%, 38%) |
| HSV | hsv(97, 81%, 63%) |
| CMYK | cmyk(49.7%, 0%, 80.7%, 36.9%) |
| CIE-LAB | lab(59.28, -46.23, 54.94) |
| CIE-LCH | lch(59.28, 71.81, 130.08°) |
| OKLab | oklab(63.37% -0.1287 0.1216) |
| OKLCH | oklch(63.37% 0.177 136.6) |
| XYZ | xyz(16.3851, 27.3369, 5.7092) |
| Luminance | 0.2734 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 1.60
Grassy Green
#419C03
ΔE00 2.41
Grass Green
#3F9B0B
ΔE00 2.67
Grass
#5CAC2D
ΔE00 3.49
Leaf Green
#5CA904
ΔE00 3.53
Leaf
#71AA34
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51A11F #6F1FA1
analogous
#92A11F #51A11F #1FA12E
triadic
#51A11F #1F51A1 #A11F51
tetradic
#51A11F #1F92A1 #6F1FA1 #A12E1F
square
#51A11F #1F92A1 #6F1FA1 #A12E1F
split-complementary
#51A11F #2E1FA1 #A11F92
monochromatic
#1D3A0B #376E15 #51A11F #6BD429 #8EDF5B
Accessibility & contrast
On white
3.25
#51A11F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#51A11F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #51A11F
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51A11F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##51A11F | 1.00 | 3.25 | 6.47 | 6.47 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#4D9B89
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #51a11f; /* rgb */ color: rgb(81, 161, 31); /* oklch */ color: oklch(63.4% 0.177 136.6);
Tailwind
colors: {
custom: {
50: '#8abd66',
500: '#51a11f',
950: '#000000',
},
}SCSS
$custom: #51a11f; $custom-light: #8abd66; $custom-dark: #000000;
JSON
{
"hex": "#51a11f",
"rgb": {
"r": 81,
"g": 161,
"b": 31
},
"hsl": {
"h": 96.923,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.63367,
"c": 0.17704,
"h": 136.6
},
"luminance": 0.27338
}Semantic roles & 50–950 ramp
primary
#51A11F
secondary
#9A58C4
accent
#3DEBA8
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1206
muted
#7D817A