#2A6A18#2A6A18
#2A6A18 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.131 H 139.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6A18 |
|---|---|
| RGB | rgb(42, 106, 24) |
| HSL | hsl(107, 63%, 25%) |
| HSV | hsv(107, 77%, 42%) |
| CMYK | cmyk(60.4%, 0%, 77.4%, 58.4%) |
| CIE-LAB | lab(39.35, -36.53, 37.62) |
| CIE-LCH | lch(39.35, 52.43, 134.16°) |
| OKLab | oklab(46.51% -0.1003 0.0849) |
| OKLCH | oklch(46.51% 0.131 139.8) |
| XYZ | xyz(6.2735, 10.8657, 2.6307) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.59
Deep Green
#02590F
ΔE00 6.29
Tree Green
#2A7E19
ΔE00 6.94
Forest Green
#2D5A27
ΔE00 7.11
Forest
#0B5509
ΔE00 7.12
Darkish Green
#287C37
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6A18 #58186A
analogous
#536A18 #2A6A18 #186A2F
triadic
#2A6A18 #182A6A #6A182A
tetradic
#2A6A18 #18536A #58186A #6A2F18
square
#2A6A18 #18536A #58186A #6A2F18
split-complementary
#2A6A18 #2F186A #6A1853
monochromatic
#0A1906 #16380D #2A6A18 #3E9C23 #52CE2F
Accessibility & contrast
On white
6.62
#2A6A18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#2A6A18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6A18
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6A18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6A18 | 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)
#6D6009
Deuteranopia (green-blind)
#655B20
Tritanopia (blue-blind)
#22665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a6a18; /* rgb */ color: rgb(42, 106, 24); /* oklch */ color: oklch(46.5% 0.131 139.8);
Tailwind
colors: {
custom: {
50: '#6c955b',
500: '#2a6a18',
950: '#000000',
},
}SCSS
$custom: #2a6a18; $custom-light: #6c955b; $custom-dark: #000000;
JSON
{
"hex": "#2a6a18",
"rgb": {
"r": 42,
"g": 106,
"b": 24
},
"hsl": {
"h": 106.829,
"s": 63.077,
"l": 25.49
},
"oklch": {
"l": 0.46509,
"c": 0.13143,
"h": 139.8
},
"luminance": 0.10866
}Semantic roles & 50–950 ramp
primary
#2A6A18
secondary
#8A3EA0
accent
#42E6C2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79