#2A6B15#2A6B15
#2A6B15 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.135 H 139.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6B15 |
|---|---|
| RGB | rgb(42, 107, 21) |
| HSL | hsl(105, 67%, 25%) |
| HSV | hsv(105, 80%, 42%) |
| CMYK | cmyk(60.7%, 0%, 80.4%, 58%) |
| CIE-LAB | lab(39.68, -37.16, 39.09) |
| CIE-LCH | lch(39.68, 53.93, 133.55°) |
| OKLab | oklab(46.78% -0.1022 0.0875) |
| OKLCH | oklch(46.78% 0.135 139.4) |
| XYZ | xyz(6.3476, 11.0612, 2.5098) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.65
Tree Green
#2A7E19
ΔE00 6.54
Deep Green
#02590F
ΔE00 6.69
Darkish Green
#287C37
ΔE00 7.15
Forest
#0B5509
ΔE00 7.50
Forest Green
#2D5A27
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6B15 #56156B
analogous
#556B15 #2A6B15 #156B2B
triadic
#2A6B15 #152A6B #6B152A
tetradic
#2A6B15 #15556B #56156B #6B2B15
square
#2A6B15 #15556B #56156B #6B2B15
split-complementary
#2A6B15 #2B156B #6B1555
monochromatic
#0A1A05 #16380B #2A6B15 #3E9E1F #52D129
Accessibility & contrast
On white
6.54
#2A6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#2A6B15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6B15
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6B15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6B15 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6102
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#23675B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a6b15; /* rgb */ color: rgb(42, 107, 21); /* oklch */ color: oklch(46.8% 0.135 139.4);
Tailwind
colors: {
custom: {
50: '#6c965a',
500: '#2a6b15',
950: '#000000',
},
}SCSS
$custom: #2a6b15; $custom-light: #6c965a; $custom-dark: #000000;
JSON
{
"hex": "#2a6b15",
"rgb": {
"r": 42,
"g": 107,
"b": 21
},
"hsl": {
"h": 105.349,
"s": 67.188,
"l": 25.098
},
"oklch": {
"l": 0.46775,
"c": 0.13456,
"h": 139.4
},
"luminance": 0.11062
}Semantic roles & 50–950 ramp
primary
#2A6B15
secondary
#883AA2
accent
#3EEAC0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79