#2E7D1C#2E7D1C
#2E7D1C is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.151 H 140.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7D1C |
|---|---|
| RGB | rgb(46, 125, 28) |
| HSL | hsl(109, 63%, 30%) |
| HSV | hsv(109, 78%, 49%) |
| CMYK | cmyk(63.2%, 0%, 77.6%, 51%) |
| CIE-LAB | lab(46.08, -42.53, 42.85) |
| CIE-LCH | lch(46.08, 60.37, 134.79°) |
| OKLab | oklab(52.12% -0.1166 0.0964) |
| OKLCH | oklch(52.12% 0.151 140.4) |
| XYZ | xyz(8.6695, 15.3311, 3.6007) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.57
Green
#008000
ΔE00 2.95
Dark Grass Green
#388004
ΔE00 3.06
Darkish Green
#287C37
ΔE00 4.77
Forestgreen (CSS)
#228B22
ΔE00 5.00
Emerald Green
#028F1E
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7D1C #6B1C7D
analogous
#5F7D1C #2E7D1C #1C7D3A
triadic
#2E7D1C #1C2E7D #7D1C2E
tetradic
#2E7D1C #1C5F7D #6B1C7D #7D3A1C
square
#2E7D1C #1C5F7D #6B1C7D #7D3A1C
split-complementary
#2E7D1C #3A1C7D #7D1C5F
monochromatic
#091906 #1C4B11 #2E7D1C #40AF27 #5BD43F
Accessibility & contrast
On white
5.16
#2E7D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#2E7D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7D1C
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7D1C | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807107
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#23796A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2e7d1c; /* rgb */ color: rgb(46, 125, 28); /* oklch */ color: oklch(52.1% 0.151 140.4);
Tailwind
colors: {
custom: {
50: '#71a360',
500: '#2e7d1c',
950: '#000000',
},
}SCSS
$custom: #2e7d1c; $custom-light: #71a360; $custom-dark: #000000;
JSON
{
"hex": "#2e7d1c",
"rgb": {
"r": 46,
"g": 125,
"b": 28
},
"hsl": {
"h": 108.866,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.52117,
"c": 0.15123,
"h": 140.4
},
"luminance": 0.15332
}Semantic roles & 50–950 ramp
primary
#2E7D1C
secondary
#9D44B1
accent
#41E6C8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79