#2E6915#2E6915
#2E6915 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.4% C 0.130 H 138.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6915 |
|---|---|
| RGB | rgb(46, 105, 21) |
| HSL | hsl(102, 67%, 25%) |
| HSV | hsv(102, 80%, 41%) |
| CMYK | cmyk(56.2%, 0%, 80%, 58.8%) |
| CIE-LAB | lab(39.13, -35.16, 38.60) |
| CIE-LCH | lch(39.13, 52.21, 132.32°) |
| OKLab | oklab(46.37% -0.0971 0.0864) |
| OKLCH | oklch(46.37% 0.13 138.3) |
| XYZ | xyz(6.3134, 10.7376, 2.4492) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.79
Deep Green
#02590F
ΔE00 6.43
Forest
#0B5509
ΔE00 7.11
Forest Green
#2D5A27
ΔE00 7.13
Camouflage Green
#4B6113
ΔE00 7.19
Tree Green
#2A7E19
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6915 #501569
analogous
#586915 #2E6915 #156926
triadic
#2E6915 #152E69 #69152E
tetradic
#2E6915 #155869 #501569 #692615
square
#2E6915 #155869 #501569 #692615
split-complementary
#2E6915 #261569 #691558
monochromatic
#0B1A05 #18360B #2E6915 #449C1F #5BCF29
Accessibility & contrast
On white
6.67
#2E6915 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2E6915 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6915
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6915 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6915 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F03
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#296559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2e6915; /* rgb */ color: rgb(46, 105, 21); /* oklch */ color: oklch(46.4% 0.130 138.3);
Tailwind
colors: {
custom: {
50: '#6e9459',
500: '#2e6915',
950: '#000000',
},
}SCSS
$custom: #2e6915; $custom-light: #6e9459; $custom-dark: #000000;
JSON
{
"hex": "#2e6915",
"rgb": {
"r": 46,
"g": 105,
"b": 21
},
"hsl": {
"h": 102.143,
"s": 66.667,
"l": 24.706
},
"oklch": {
"l": 0.46365,
"c": 0.13002,
"h": 138.3
},
"luminance": 0.10738
}Semantic roles & 50–950 ramp
primary
#2E6915
secondary
#813AA0
accent
#3EEAB7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79