#2F7B14#2F7B14
#2F7B14 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.153 H 139.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7B14 |
|---|---|
| RGB | rgb(47, 123, 20) |
| HSL | hsl(104, 72%, 28%) |
| HSV | hsv(104, 84%, 48%) |
| CMYK | cmyk(61.8%, 0%, 83.7%, 51.8%) |
| CIE-LAB | lab(45.39, -42.05, 44.90) |
| CIE-LCH | lch(45.39, 61.51, 133.12°) |
| OKLab | oklab(51.54% -0.1158 0.0994) |
| OKLCH | oklch(51.54% 0.153 139.3) |
| XYZ | xyz(8.3812, 14.8200, 3.0806) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.28
Dark Grass Green
#388004
ΔE00 2.73
Green
#008000
ΔE00 3.07
Darkish Green
#287C37
ΔE00 5.59
Forestgreen (CSS)
#228B22
ΔE00 5.79
Avocado
#568203
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7B14 #60147B
analogous
#627B14 #2F7B14 #147B2C
triadic
#2F7B14 #142F7B #7B142F
tetradic
#2F7B14 #14627B #60147B #7B2C14
square
#2F7B14 #14627B #60147B #7B2C14
split-complementary
#2F7B14 #2C147B #7B1462
monochromatic
#0A1A04 #1B460B #2F7B14 #43B01D #5BDD2D
Accessibility & contrast
On white
5.30
#2F7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#2F7B14 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7B14
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7B14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7B14 | 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: #2f7b14; /* rgb */ color: rgb(47, 123, 20); /* oklch */ color: oklch(51.5% 0.153 139.3);
Tailwind
colors: {
custom: {
50: '#72a25c',
500: '#2f7b14',
950: '#000000',
},
}SCSS
$custom: #2f7b14; $custom-light: #72a25c; $custom-dark: #000000;
JSON
{
"hex": "#2f7b14",
"rgb": {
"r": 47,
"g": 123,
"b": 20
},
"hsl": {
"h": 104.272,
"s": 72.028,
"l": 28.039
},
"oklch": {
"l": 0.51535,
"c": 0.15261,
"h": 139.3
},
"luminance": 0.14821
}Semantic roles & 50–950 ramp
primary
#2F7B14
secondary
#923AB1
accent
#39EFBF
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79