#2F9826#2F9826
#2F9826 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.8% C 0.177 H 142.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F9826 |
|---|---|
| RGB | rgb(47, 152, 38) |
| HSL | hsl(115, 60%, 37%) |
| HSV | hsv(115, 75%, 60%) |
| CMYK | cmyk(69.1%, 0%, 75%, 40.4%) |
| CIE-LAB | lab(55.28, -51.28, 48.34) |
| CIE-LCH | lch(55.28, 70.47, 136.69°) |
| OKLab | oklab(59.76% -0.1397 0.1092) |
| OKLCH | oklch(59.76% 0.177 142) |
| XYZ | xyz(12.7497, 23.1994, 5.6394) |
| Luminance | 0.2320 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 2.57
True Green
#089404
ΔE00 2.80
Grass Green
#3F9B0B
ΔE00 3.32
Emerald Green
#028F1E
ΔE00 3.83
Grassy Green
#419C03
ΔE00 3.90
Kelley Green
#009337
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F9826 #8F2698
analogous
#689826 #2F9826 #269856
triadic
#2F9826 #262F98 #98262F
tetradic
#2F9826 #266898 #8F2698 #985626
square
#2F9826 #266898 #8F2698 #985626
split-complementary
#2F9826 #562698 #982668
monochromatic
#11360E #20671A #2F9826 #3EC932 #6AD761
Accessibility & contrast
On white
3.72
#2F9826 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#2F9826 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F9826
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F9826 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F9826 | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8910
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#169382
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #2f9826; /* rgb */ color: rgb(47, 152, 38); /* oklch */ color: oklch(59.8% 0.177 142.0);
Tailwind
colors: {
custom: {
50: '#77b768',
500: '#2f9826',
950: '#000000',
},
}SCSS
$custom: #2f9826; $custom-light: #77b768; $custom-dark: #000000;
JSON
{
"hex": "#2f9826",
"rgb": {
"r": 47,
"g": 152,
"b": 38
},
"hsl": {
"h": 115.263,
"s": 60,
"l": 37.255
},
"oklch": {
"l": 0.59758,
"c": 0.17733,
"h": 142
},
"luminance": 0.23201
}Semantic roles & 50–950 ramp
primary
#2F9826
secondary
#B55DBD
accent
#45E3D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A