#2E7F13#2E7F13
#2E7F13 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.158 H 139.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7F13 |
|---|---|
| RGB | rgb(46, 127, 19) |
| HSL | hsl(105, 74%, 29%) |
| HSV | hsv(105, 85%, 50%) |
| CMYK | cmyk(63.8%, 0%, 85%, 50.2%) |
| CIE-LAB | lab(46.72, -43.86, 46.41) |
| CIE-LCH | lch(46.72, 63.85, 133.38°) |
| OKLab | oklab(52.63% -0.1206 0.1025) |
| OKLCH | oklch(52.63% 0.158 139.7) |
| XYZ | xyz(8.8332, 15.8058, 3.2013) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.98
Dark Grass Green
#388004
ΔE00 1.94
Green
#008000
ΔE00 2.42
Forestgreen (CSS)
#228B22
ΔE00 4.49
Darkish Green
#287C37
ΔE00 5.93
Emerald Green
#028F1E
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7F13 #64137F
analogous
#647F13 #2E7F13 #137F2E
triadic
#2E7F13 #132E7F #7F132E
tetradic
#2E7F13 #13647F #64137F #7F2E13
square
#2E7F13 #13647F #64137F #7F2E13
split-complementary
#2E7F13 #2E137F #7F1364
monochromatic
#0A1B04 #1B4A0B #2E7F13 #41B41B #5AE02D
Accessibility & contrast
On white
5.05
#2E7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#2E7F13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7F13
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7F13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7F13 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#237B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2e7f13; /* rgb */ color: rgb(46, 127, 19); /* oklch */ color: oklch(52.6% 0.158 139.7);
Tailwind
colors: {
custom: {
50: '#72a55c',
500: '#2e7f13',
950: '#000000',
},
}SCSS
$custom: #2e7f13; $custom-light: #72a55c; $custom-dark: #000000;
JSON
{
"hex": "#2e7f13",
"rgb": {
"r": 46,
"g": 127,
"b": 19
},
"hsl": {
"h": 105,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.52626,
"c": 0.15826,
"h": 139.7
},
"luminance": 0.15807
}Semantic roles & 50–950 ramp
primary
#2E7F13
secondary
#9639B4
accent
#37F1C2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79