#2F8F18#2F8F18
#2F8F18 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.174 H 140.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8F18 |
|---|---|
| RGB | rgb(47, 143, 24) |
| HSL | hsl(108, 71%, 33%) |
| HSV | hsv(108, 83%, 56%) |
| CMYK | cmyk(67.1%, 0%, 83.2%, 43.9%) |
| CIE-LAB | lab(52.19, -49.09, 50.01) |
| CIE-LCH | lch(52.19, 70.08, 134.47°) |
| OKLab | oklab(57.17% -0.1345 0.1107) |
| OKLCH | oklch(57.17% 0.174 140.5) |
| XYZ | xyz(11.1591, 20.3141, 4.1969) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 2.41
Forestgreen (CSS)
#228B22
ΔE00 2.41
Emerald Green
#028F1E
ΔE00 2.46
Irish Green
#019529
ΔE00 3.49
Grass Green
#3F9B0B
ΔE00 4.73
Kelley Green
#009337
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8F18 #78188F
analogous
#6B8F18 #2F8F18 #188F3C
triadic
#2F8F18 #182F8F #8F182F
tetradic
#2F8F18 #186B8F #78188F #8F3C18
square
#2F8F18 #186B8F #78188F #8F3C18
split-complementary
#2F8F18 #3C188F #8F186B
monochromatic
#0D2606 #1E5B0F #2F8F18 #40C321 #60DF42
Accessibility & contrast
On white
4.15
#2F8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#2F8F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8F18
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8F18 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#1E8A79
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2f8f18; /* rgb */ color: rgb(47, 143, 24); /* oklch */ color: oklch(57.2% 0.174 140.5);
Tailwind
colors: {
custom: {
50: '#76b161',
500: '#2f8f18',
950: '#000000',
},
}SCSS
$custom: #2f8f18; $custom-light: #76b161; $custom-dark: #000000;
JSON
{
"hex": "#2f8f18",
"rgb": {
"r": 47,
"g": 143,
"b": 24
},
"hsl": {
"h": 108.403,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.57174,
"c": 0.17421,
"h": 140.5
},
"luminance": 0.20315
}Semantic roles & 50–950 ramp
primary
#2F8F18
secondary
#A843C0
accent
#3AEECB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A