#2F7A14#2F7A14
#2F7A14 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.151 H 139.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7A14 |
|---|---|
| RGB | rgb(47, 122, 20) |
| HSL | hsl(104, 72%, 28%) |
| HSV | hsv(104, 84%, 48%) |
| CMYK | cmyk(61.5%, 0%, 83.6%, 52.2%) |
| CIE-LAB | lab(45.04, -41.67, 44.58) |
| CIE-LCH | lch(45.04, 61.02, 133.07°) |
| OKLab | oklab(51.25% -0.1148 0.0988) |
| OKLCH | oklch(51.25% 0.151 139.3) |
| XYZ | xyz(8.2577, 14.5732, 3.0394) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.56
Dark Grass Green
#388004
ΔE00 3.00
Green
#008000
ΔE00 3.29
Darkish Green
#287C37
ΔE00 5.57
Forestgreen (CSS)
#228B22
ΔE00 6.13
Avocado
#568203
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7A14 #5F147A
analogous
#627A14 #2F7A14 #147A2C
triadic
#2F7A14 #142F7A #7A142F
tetradic
#2F7A14 #14627A #5F147A #7A2C14
square
#2F7A14 #14627A #5F147A #7A2C14
split-complementary
#2F7A14 #2C147A #7A1462
monochromatic
#0A1A04 #1B450B #2F7A14 #43AF1D #5BDC2C
Accessibility & contrast
On white
5.36
#2F7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#2F7A14 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7A14
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7A14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7A14 | 1.00 | 5.36 | 3.91 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#756820
Tritanopia (blue-blind)
#267667
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2f7a14; /* rgb */ color: rgb(47, 122, 20); /* oklch */ color: oklch(51.3% 0.151 139.3);
Tailwind
colors: {
custom: {
50: '#72a15c',
500: '#2f7a14',
950: '#000000',
},
}SCSS
$custom: #2f7a14; $custom-light: #72a15c; $custom-dark: #000000;
JSON
{
"hex": "#2f7a14",
"rgb": {
"r": 47,
"g": 122,
"b": 20
},
"hsl": {
"h": 104.118,
"s": 71.831,
"l": 27.843
},
"oklch": {
"l": 0.51251,
"c": 0.1514,
"h": 139.3
},
"luminance": 0.14574
}Semantic roles & 50–950 ramp
primary
#2F7A14
secondary
#913AB0
accent
#39EFBF
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79