#2D6E15#2D6E15
#2D6E15 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.137 H 139.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2D6E15 |
|---|---|
| RGB | rgb(45, 110, 21) |
| HSL | hsl(104, 68%, 26%) |
| HSV | hsv(104, 81%, 43%) |
| CMYK | cmyk(59.1%, 0%, 80.9%, 56.9%) |
| CIE-LAB | lab(40.84, -37.49, 40.24) |
| CIE-LCH | lch(40.84, 55.00, 132.97°) |
| OKLab | oklab(47.76% -0.1033 0.0899) |
| OKLCH | oklch(47.76% 0.137 139) |
| XYZ | xyz(6.7932, 11.7633, 2.6219) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.49
Tree Green
#2A7E19
ΔE00 5.52
Darkish Green
#287C37
ΔE00 6.63
Green
#008000
ΔE00 6.80
Dark Grass Green
#388004
ΔE00 6.90
Deep Green
#02590F
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D6E15 #56156E
analogous
#596E15 #2D6E15 #156E29
triadic
#2D6E15 #152D6E #6E152D
tetradic
#2D6E15 #15596E #56156E #6E2915
square
#2D6E15 #15596E #56156E #6E2915
split-complementary
#2D6E15 #29156E #6E1559
monochromatic
#0B1A05 #183B0B #2D6E15 #42A11F #57D529
Accessibility & contrast
On white
6.26
#2D6E15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#2D6E15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D6E15
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D6E15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D6E15 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716401
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#266A5D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2d6e15; /* rgb */ color: rgb(45, 110, 21); /* oklch */ color: oklch(47.8% 0.137 139.0);
Tailwind
colors: {
custom: {
50: '#6e985a',
500: '#2d6e15',
950: '#000000',
},
}SCSS
$custom: #2d6e15; $custom-light: #6e985a; $custom-dark: #000000;
JSON
{
"hex": "#2d6e15",
"rgb": {
"r": 45,
"g": 110,
"b": 21
},
"hsl": {
"h": 103.82,
"s": 67.939,
"l": 25.686
},
"oklch": {
"l": 0.47758,
"c": 0.13694,
"h": 139
},
"luminance": 0.11764
}Semantic roles & 50–950 ramp
primary
#2D6E15
secondary
#883AA4
accent
#3DEBBC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79