#2F7D13#2F7D13
#2F7D13 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.155 H 139.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7D13 |
|---|---|
| RGB | rgb(47, 125, 19) |
| HSL | hsl(104, 74%, 28%) |
| HSV | hsv(104, 85%, 49%) |
| CMYK | cmyk(62.4%, 0%, 84.8%, 51%) |
| CIE-LAB | lab(46.07, -42.86, 45.82) |
| CIE-LCH | lch(46.07, 62.74, 133.09°) |
| OKLab | oklab(52.1% -0.118 0.1012) |
| OKLCH | oklch(52.1% 0.155 139.4) |
| XYZ | xyz(8.6231, 15.3178, 3.1182) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.97
Dark Grass Green
#388004
ΔE00 2.18
Green
#008000
ΔE00 2.70
Forestgreen (CSS)
#228B22
ΔE00 5.16
Darkish Green
#287C37
ΔE00 5.79
Emerald Green
#028F1E
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7D13 #61137D
analogous
#647D13 #2F7D13 #137D2C
triadic
#2F7D13 #132F7D #7D132F
tetradic
#2F7D13 #13647D #61137D #7D2C13
square
#2F7D13 #13647D #61137D #7D2C13
split-complementary
#2F7D13 #2C137D #7D1364
monochromatic
#0A1B04 #1B480B #2F7D13 #43B21B #5BDF2C
Accessibility & contrast
On white
5.17
#2F7D13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#2F7D13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7D13
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7D13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7D13 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776B20
Tritanopia (blue-blind)
#25796A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2f7d13; /* rgb */ color: rgb(47, 125, 19); /* oklch */ color: oklch(52.1% 0.155 139.4);
Tailwind
colors: {
custom: {
50: '#72a35c',
500: '#2f7d13',
950: '#000000',
},
}SCSS
$custom: #2f7d13; $custom-light: #72a35c; $custom-dark: #000000;
JSON
{
"hex": "#2f7d13",
"rgb": {
"r": 47,
"g": 125,
"b": 19
},
"hsl": {
"h": 104.151,
"s": 73.611,
"l": 28.235
},
"oklch": {
"l": 0.52095,
"c": 0.15546,
"h": 139.4
},
"luminance": 0.15319
}Semantic roles & 50–950 ramp
primary
#2F7D13
secondary
#9339B3
accent
#38F0BF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79