#2F7C14#2F7C14
#2F7C14 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.154 H 139.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7C14 |
|---|---|
| RGB | rgb(47, 124, 20) |
| HSL | hsl(104, 72%, 28%) |
| HSV | hsv(104, 84%, 49%) |
| CMYK | cmyk(62.1%, 0%, 83.9%, 51.4%) |
| CIE-LAB | lab(45.73, -42.43, 45.21) |
| CIE-LCH | lch(45.73, 62.00, 133.18°) |
| OKLab | oklab(51.82% -0.1168 0.1001) |
| OKLCH | oklch(51.82% 0.154 139.4) |
| XYZ | xyz(8.5058, 15.0694, 3.1221) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.05
Dark Grass Green
#388004
ΔE00 2.48
Green
#008000
ΔE00 2.87
Forestgreen (CSS)
#228B22
ΔE00 5.46
Darkish Green
#287C37
ΔE00 5.63
Avocado
#568203
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7C14 #61147C
analogous
#637C14 #2F7C14 #147C2D
triadic
#2F7C14 #142F7C #7C142F
tetradic
#2F7C14 #14637C #61147C #7C2D14
square
#2F7C14 #14637C #61147C #7C2D14
split-complementary
#2F7C14 #2D147C #7C1463
monochromatic
#0A1A04 #1B470B #2F7C14 #43B11D #5BDD2D
Accessibility & contrast
On white
5.23
#2F7C14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#2F7C14 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7C14
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7C14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7C14 | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#267869
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2f7c14; /* rgb */ color: rgb(47, 124, 20); /* oklch */ color: oklch(51.8% 0.154 139.4);
Tailwind
colors: {
custom: {
50: '#72a35c',
500: '#2f7c14',
950: '#000000',
},
}SCSS
$custom: #2f7c14; $custom-light: #72a35c; $custom-dark: #000000;
JSON
{
"hex": "#2f7c14",
"rgb": {
"r": 47,
"g": 124,
"b": 20
},
"hsl": {
"h": 104.423,
"s": 72.222,
"l": 28.235
},
"oklch": {
"l": 0.51818,
"c": 0.1538,
"h": 139.4
},
"luminance": 0.1507
}Semantic roles & 50–950 ramp
primary
#2F7C14
secondary
#933AB2
accent
#39EFC0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79