#2A6A15#2A6A15
#2A6A15 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.133 H 139.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6A15 |
|---|---|
| RGB | rgb(42, 106, 21) |
| HSL | hsl(105, 67%, 25%) |
| HSV | hsv(105, 80%, 42%) |
| CMYK | cmyk(60.4%, 0%, 80.2%, 58.4%) |
| CIE-LAB | lab(39.33, -36.76, 38.75) |
| CIE-LCH | lch(39.33, 53.41, 133.49°) |
| OKLab | oklab(46.49% -0.1011 0.0868) |
| OKLCH | oklch(46.49% 0.133 139.4) |
| XYZ | xyz(6.2440, 10.8539, 2.4753) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.50
Deep Green
#02590F
ΔE00 6.40
Tree Green
#2A7E19
ΔE00 6.88
Forest
#0B5509
ΔE00 7.19
Forest Green
#2D5A27
ΔE00 7.37
Darkish Green
#287C37
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6A15 #55156A
analogous
#556A15 #2A6A15 #156A2A
triadic
#2A6A15 #152A6A #6A152A
tetradic
#2A6A15 #15556A #55156A #6A2A15
square
#2A6A15 #15556A #55156A #6A2A15
split-complementary
#2A6A15 #2A156A #6A1555
monochromatic
#0A1A05 #16370B #2A6A15 #3E9D1F #52D029
Accessibility & contrast
On white
6.62
#2A6A15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#2A6A15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6A15
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6A15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6A15 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6003
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#23665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a6a15; /* rgb */ color: rgb(42, 106, 21); /* oklch */ color: oklch(46.5% 0.133 139.4);
Tailwind
colors: {
custom: {
50: '#6c9559',
500: '#2a6a15',
950: '#000000',
},
}SCSS
$custom: #2a6a15; $custom-light: #6c9559; $custom-dark: #000000;
JSON
{
"hex": "#2a6a15",
"rgb": {
"r": 42,
"g": 106,
"b": 21
},
"hsl": {
"h": 105.176,
"s": 66.929,
"l": 24.902
},
"oklch": {
"l": 0.46486,
"c": 0.13327,
"h": 139.4
},
"luminance": 0.10854
}Semantic roles & 50–950 ramp
primary
#2A6A15
secondary
#873AA1
accent
#3EEABF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79