#2F7F13#2F7F13
#2F7F13 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.158 H 139.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7F13 |
|---|---|
| RGB | rgb(47, 127, 19) |
| HSL | hsl(104, 74%, 29%) |
| HSV | hsv(104, 85%, 50%) |
| CMYK | cmyk(63%, 0%, 85%, 50.2%) |
| CIE-LAB | lab(46.75, -43.60, 46.45) |
| CIE-LCH | lch(46.75, 63.71, 133.19°) |
| OKLab | oklab(52.66% -0.12 0.1025) |
| OKLCH | oklch(52.66% 0.158 139.5) |
| XYZ | xyz(8.8788, 15.8293, 3.2034) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.06
Dark Grass Green
#388004
ΔE00 1.85
Green
#008000
ΔE00 2.51
Forestgreen (CSS)
#228B22
ΔE00 4.51
Darkish Green
#287C37
ΔE00 5.98
Emerald Green
#028F1E
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7F13 #63137F
analogous
#657F13 #2F7F13 #137F2D
triadic
#2F7F13 #132F7F #7F132F
tetradic
#2F7F13 #13657F #63137F #7F2D13
square
#2F7F13 #13657F #63137F #7F2D13
split-complementary
#2F7F13 #2D137F #7F1365
monochromatic
#0A1B04 #1B4A0B #2F7F13 #43B41B #5BE02D
Accessibility & contrast
On white
5.04
#2F7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#2F7F13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7F13
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7F13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7F13 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#257A6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2f7f13; /* rgb */ color: rgb(47, 127, 19); /* oklch */ color: oklch(52.7% 0.158 139.5);
Tailwind
colors: {
custom: {
50: '#73a55c',
500: '#2f7f13',
950: '#000000',
},
}SCSS
$custom: #2f7f13; $custom-light: #73a55c; $custom-dark: #000000;
JSON
{
"hex": "#2f7f13",
"rgb": {
"r": 47,
"g": 127,
"b": 19
},
"hsl": {
"h": 104.444,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.52661,
"c": 0.15783,
"h": 139.5
},
"luminance": 0.1583
}Semantic roles & 50–950 ramp
primary
#2F7F13
secondary
#9539B4
accent
#37F1C1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79