#2A6C15#2A6C15
#2A6C15 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.136 H 139.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6C15 |
|---|---|
| RGB | rgb(42, 108, 21) |
| HSL | hsl(106, 67%, 25%) |
| HSV | hsv(106, 81%, 42%) |
| CMYK | cmyk(61.1%, 0%, 80.6%, 57.6%) |
| CIE-LAB | lab(40.03, -37.55, 39.43) |
| CIE-LCH | lch(40.03, 54.45, 133.60°) |
| OKLab | oklab(47.06% -0.1033 0.0882) |
| OKLCH | oklch(47.06% 0.136 139.5) |
| XYZ | xyz(6.4525, 11.2709, 2.5448) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.83
Tree Green
#2A7E19
ΔE00 6.20
Darkish Green
#287C37
ΔE00 6.93
Deep Green
#02590F
ΔE00 6.99
Green
#008000
ΔE00 7.37
Dark Grass Green
#388004
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6C15 #57156C
analogous
#556C15 #2A6C15 #156C2B
triadic
#2A6C15 #152A6C #6C152A
tetradic
#2A6C15 #15556C #57156C #6C2B15
square
#2A6C15 #15556C #57156C #6C2B15
split-complementary
#2A6C15 #2B156C #6C1555
monochromatic
#0A1A05 #16390B #2A6C15 #3E9F1F #52D229
Accessibility & contrast
On white
6.45
#2A6C15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#2A6C15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6C15
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6C15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6C15 | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6202
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#22685C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2a6c15; /* rgb */ color: rgb(42, 108, 21); /* oklch */ color: oklch(47.1% 0.136 139.5);
Tailwind
colors: {
custom: {
50: '#6c975a',
500: '#2a6c15',
950: '#000000',
},
}SCSS
$custom: #2a6c15; $custom-light: #6c975a; $custom-dark: #000000;
JSON
{
"hex": "#2a6c15",
"rgb": {
"r": 42,
"g": 108,
"b": 21
},
"hsl": {
"h": 105.517,
"s": 67.442,
"l": 25.294
},
"oklch": {
"l": 0.47064,
"c": 0.13582,
"h": 139.5
},
"luminance": 0.11272
}Semantic roles & 50–950 ramp
primary
#2A6C15
secondary
#893AA3
accent
#3DEAC1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79