#2F7E13#2F7E13
#2F7E13 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.157 H 139.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7E13 |
|---|---|
| RGB | rgb(47, 126, 19) |
| HSL | hsl(104, 74%, 28%) |
| HSV | hsv(104, 85%, 49%) |
| CMYK | cmyk(62.7%, 0%, 84.9%, 50.6%) |
| CIE-LAB | lab(46.41, -43.23, 46.13) |
| CIE-LCH | lch(46.41, 63.23, 133.14°) |
| OKLab | oklab(52.38% -0.119 0.1019) |
| OKLCH | oklch(52.38% 0.157 139.4) |
| XYZ | xyz(8.7503, 15.5723, 3.1606) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.95
Dark Grass Green
#388004
ΔE00 1.99
Green
#008000
ΔE00 2.58
Forestgreen (CSS)
#228B22
ΔE00 4.83
Darkish Green
#287C37
ΔE00 5.88
Emerald Green
#028F1E
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7E13 #62137E
analogous
#647E13 #2F7E13 #137E2C
triadic
#2F7E13 #132F7E #7E132F
tetradic
#2F7E13 #13647E #62137E #7E2C13
square
#2F7E13 #13647E #62137E #7E2C13
split-complementary
#2F7E13 #2C137E #7E1364
monochromatic
#0A1B04 #1B490B #2F7E13 #43B31B #5BDF2C
Accessibility & contrast
On white
5.10
#2F7E13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#2F7E13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7E13
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7E13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7E13 | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786C21
Tritanopia (blue-blind)
#257A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2f7e13; /* rgb */ color: rgb(47, 126, 19); /* oklch */ color: oklch(52.4% 0.157 139.4);
Tailwind
colors: {
custom: {
50: '#73a45c',
500: '#2f7e13',
950: '#000000',
},
}SCSS
$custom: #2f7e13; $custom-light: #73a45c; $custom-dark: #000000;
JSON
{
"hex": "#2f7e13",
"rgb": {
"r": 47,
"g": 126,
"b": 19
},
"hsl": {
"h": 104.299,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.52378,
"c": 0.15665,
"h": 139.4
},
"luminance": 0.15573
}Semantic roles & 50–950 ramp
primary
#2F7E13
secondary
#9439B4
accent
#37F0C0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79