#2F7B15#2F7B15
#2F7B15 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.152 H 139.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7B15 |
|---|---|
| RGB | rgb(47, 123, 21) |
| HSL | hsl(105, 71%, 28%) |
| HSV | hsv(105, 83%, 48%) |
| CMYK | cmyk(61.8%, 0%, 82.9%, 51.8%) |
| CIE-LAB | lab(45.39, -41.99, 44.59) |
| CIE-LCH | lch(45.39, 61.25, 133.28°) |
| OKLab | oklab(51.54% -0.1156 0.0989) |
| OKLCH | oklch(51.54% 0.152 139.4) |
| XYZ | xyz(8.3902, 14.8236, 3.1284) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.24
Dark Grass Green
#388004
ΔE00 2.80
Green
#008000
ΔE00 3.09
Darkish Green
#287C37
ΔE00 5.49
Forestgreen (CSS)
#228B22
ΔE00 5.78
Avocado
#568203
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7B15 #61157B
analogous
#627B15 #2F7B15 #157B2E
triadic
#2F7B15 #152F7B #7B152F
tetradic
#2F7B15 #15627B #61157B #7B2E15
square
#2F7B15 #15627B #61157B #7B2E15
split-complementary
#2F7B15 #2E157B #7B1562
monochromatic
#0A1A04 #1B470C #2F7B15 #43AF1E #5BDB2F
Accessibility & contrast
On white
5.30
#2F7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#2F7B15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7B15
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7B15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7B15 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#267768
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2f7b15; /* rgb */ color: rgb(47, 123, 21); /* oklch */ color: oklch(51.5% 0.152 139.4);
Tailwind
colors: {
custom: {
50: '#72a25c',
500: '#2f7b15',
950: '#000000',
},
}SCSS
$custom: #2f7b15; $custom-light: #72a25c; $custom-dark: #000000;
JSON
{
"hex": "#2f7b15",
"rgb": {
"r": 47,
"g": 123,
"b": 21
},
"hsl": {
"h": 104.706,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.5154,
"c": 0.15213,
"h": 139.4
},
"luminance": 0.14824
}Semantic roles & 50–950 ramp
primary
#2F7B15
secondary
#933BB0
accent
#3AEEC0
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79