#2E7216#2E7216
#2E7216 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.141 H 139.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7216 |
|---|---|
| RGB | rgb(46, 114, 22) |
| HSL | hsl(104, 68%, 27%) |
| HSV | hsv(104, 81%, 45%) |
| CMYK | cmyk(59.6%, 0%, 80.7%, 55.3%) |
| CIE-LAB | lab(42.27, -38.72, 41.28) |
| CIE-LCH | lch(42.27, 56.60, 133.17°) |
| OKLab | oklab(48.95% -0.1067 0.0922) |
| OKLCH | oklch(48.95% 0.141 139.2) |
| XYZ | xyz(7.2885, 12.6728, 2.8209) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.17
Darkgreen
#006400
ΔE00 5.54
Green
#008000
ΔE00 5.57
Dark Grass Green
#388004
ΔE00 5.62
Darkish Green
#287C37
ΔE00 5.88
Darkolivegreen
#556B2F
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7216 #5A1672
analogous
#5C7216 #2E7216 #16722C
triadic
#2E7216 #162E72 #72162E
tetradic
#2E7216 #165C72 #5A1672 #722C16
square
#2E7216 #165C72 #5A1672 #722C16
split-complementary
#2E7216 #2C1672 #72165C
monochromatic
#0A1A05 #193F0C #2E7216 #43A520 #59D62C
Accessibility & contrast
On white
5.94
#2E7216 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#2E7216 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7216
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7216 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7216 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766701
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#276E61
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2e7216; /* rgb */ color: rgb(46, 114, 22); /* oklch */ color: oklch(48.9% 0.141 139.2);
Tailwind
colors: {
custom: {
50: '#709b5b',
500: '#2e7216',
950: '#000000',
},
}SCSS
$custom: #2e7216; $custom-light: #709b5b; $custom-dark: #000000;
JSON
{
"hex": "#2e7216",
"rgb": {
"r": 46,
"g": 114,
"b": 22
},
"hsl": {
"h": 104.348,
"s": 67.647,
"l": 26.667
},
"oklch": {
"l": 0.4895,
"c": 0.14097,
"h": 139.2
},
"luminance": 0.12673
}Semantic roles & 50–950 ramp
primary
#2E7216
secondary
#8C3CA8
accent
#3DEBBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79