#2F902F#2F902F
#2F902F is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.6% C 0.162 H 143.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2F902F |
|---|---|
| RGB | rgb(47, 144, 47) |
| HSL | hsl(120, 51%, 37%) |
| HSV | hsv(120, 67%, 56%) |
| CMYK | cmyk(67.4%, 0%, 67.4%, 43.5%) |
| CIE-LAB | lab(52.68, -47.61, 41.97) |
| CIE-LCH | lch(52.68, 63.47, 138.60°) |
| OKLab | oklab(57.63% -0.1293 0.097) |
| OKLCH | oklch(57.63% 0.162 143.1) |
| XYZ | xyz(11.6580, 20.7549, 6.0805) |
| Luminance | 0.2076 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.29
Emerald Green
#028F1E
ΔE00 2.42
Irish Green
#019529
ΔE00 2.47
Kelley Green
#009337
ΔE00 2.74
True Green
#089404
ΔE00 3.94
Fern Green
#548D44
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F902F #902F90
analogous
#60902F #2F902F #2F9060
triadic
#2F902F #2F2F90 #902F2F
tetradic
#2F902F #2F6090 #902F90 #90602F
square
#2F902F #2F6090 #902F90 #90602F
split-complementary
#2F902F #602F90 #902F60
monochromatic
#113411 #206220 #2F902F #3EBE3E #6BCF6B
Accessibility & contrast
On white
4.08
#2F902F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#2F902F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F902F
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F902F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F902F | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938322
Deuteranopia (green-blind)
#877B38
Tritanopia (blue-blind)
#188C7C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2f902f; /* rgb */ color: rgb(47, 144, 47); /* oklch */ color: oklch(57.6% 0.162 143.1);
Tailwind
colors: {
custom: {
50: '#75b16c',
500: '#2f902f',
950: '#000000',
},
}SCSS
$custom: #2f902f; $custom-light: #75b16c; $custom-dark: #000000;
JSON
{
"hex": "#2f902f",
"rgb": {
"r": 47,
"g": 144,
"b": 47
},
"hsl": {
"h": 120,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.5763,
"c": 0.16163,
"h": 143.1
},
"luminance": 0.20756
}Semantic roles & 50–950 ramp
primary
#2F902F
secondary
#B665B6
accent
#4EDADA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A