#2A6A13#2A6A13
#2A6A13 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.5% C 0.134 H 139.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6A13 |
|---|---|
| RGB | rgb(42, 106, 19) |
| HSL | hsl(104, 70%, 25%) |
| HSV | hsv(104, 82%, 42%) |
| CMYK | cmyk(60.4%, 0%, 82.1%, 58.4%) |
| CIE-LAB | lab(39.32, -36.90, 39.45) |
| CIE-LCH | lch(39.32, 54.01, 133.08°) |
| OKLab | oklab(46.47% -0.1016 0.0879) |
| OKLCH | oklch(46.47% 0.134 139.1) |
| XYZ | xyz(6.2262, 10.8468, 2.3815) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.47
Deep Green
#02590F
ΔE00 6.49
Tree Green
#2A7E19
ΔE00 6.85
Forest
#0B5509
ΔE00 7.25
Darkish Green
#287C37
ΔE00 7.53
Forest Green
#2D5A27
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6A13 #53136A
analogous
#566A13 #2A6A13 #136A28
triadic
#2A6A13 #132A6A #6A132A
tetradic
#2A6A13 #13566A #53136A #6A2813
square
#2A6A13 #13566A #53136A #6A2813
split-complementary
#2A6A13 #28136A #6A1356
monochromatic
#0A1A05 #15360A #2A6A13 #3F9E1C #53D226
Accessibility & contrast
On white
6.63
#2A6A13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#2A6A13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6A13
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6A13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6A13 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#655B1D
Tritanopia (blue-blind)
#23665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a6a13; /* rgb */ color: rgb(42, 106, 19); /* oklch */ color: oklch(46.5% 0.134 139.1);
Tailwind
colors: {
custom: {
50: '#6c9559',
500: '#2a6a13',
950: '#000000',
},
}SCSS
$custom: #2a6a13; $custom-light: #6c9559; $custom-dark: #000000;
JSON
{
"hex": "#2a6a13",
"rgb": {
"r": 42,
"g": 106,
"b": 19
},
"hsl": {
"h": 104.138,
"s": 69.6,
"l": 24.51
},
"oklch": {
"l": 0.46472,
"c": 0.13441,
"h": 139.1
},
"luminance": 0.10847
}Semantic roles & 50–950 ramp
primary
#2A6A13
secondary
#8538A1
accent
#3BECBE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79