#51A01C#51A01C
#51A01C is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.1% C 0.177 H 136.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #51A01C |
|---|---|
| RGB | rgb(81, 160, 28) |
| HSL | hsl(96, 70%, 37%) |
| HSV | hsv(96, 83%, 63%) |
| CMYK | cmyk(49.4%, 0%, 82.5%, 37.3%) |
| CIE-LAB | lab(58.95, -45.99, 55.51) |
| CIE-LCH | lch(58.95, 72.08, 129.64°) |
| OKLab | oklab(63.09% -0.1282 0.1223) |
| OKLCH | oklch(63.09% 0.177 136.3) |
| XYZ | xyz(16.1733, 26.9737, 5.4526) |
| Luminance | 0.2697 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 1.65
Grassy Green
#419C03
ΔE00 2.16
Grass Green
#3F9B0B
ΔE00 2.45
Leaf Green
#5CA904
ΔE00 3.61
Grass
#5CAC2D
ΔE00 3.81
Leaf
#71AA34
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51A01C #6B1CA0
analogous
#93A01C #51A01C #1CA029
triadic
#51A01C #1C51A0 #A01C51
tetradic
#51A01C #1C93A0 #6B1CA0 #A0291C
square
#51A01C #1C93A0 #6B1CA0 #A0291C
split-complementary
#51A01C #291CA0 #A01C93
monochromatic
#1C380A #376C13 #51A01C #6BD425 #8DE155
Accessibility & contrast
On white
3.28
#51A01C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#51A01C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #51A01C
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51A01C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##51A01C | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9C8B2C
Tritanopia (blue-blind)
#4D9A88
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #51a01c; /* rgb */ color: rgb(81, 160, 28); /* oklch */ color: oklch(63.1% 0.177 136.3);
Tailwind
colors: {
custom: {
50: '#8abd65',
500: '#51a01c',
950: '#000000',
},
}SCSS
$custom: #51a01c; $custom-light: #8abd65; $custom-dark: #000000;
JSON
{
"hex": "#51a01c",
"rgb": {
"r": 81,
"g": 160,
"b": 28
},
"hsl": {
"h": 95.909,
"s": 70.213,
"l": 36.863
},
"oklch": {
"l": 0.63087,
"c": 0.1772,
"h": 136.3
},
"luminance": 0.26975
}Semantic roles & 50–950 ramp
primary
#51A01C
secondary
#9753C4
accent
#3BEDA5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1206
muted
#7D817A