#2A6A14#2A6A14
#2A6A14 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.134 H 139.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6A14 |
|---|---|
| RGB | rgb(42, 106, 20) |
| HSL | hsl(105, 68%, 25%) |
| HSV | hsv(105, 81%, 42%) |
| CMYK | cmyk(60.4%, 0%, 81.1%, 58.4%) |
| CIE-LAB | lab(39.33, -36.83, 39.10) |
| CIE-LCH | lch(39.33, 53.72, 133.28°) |
| OKLab | oklab(46.48% -0.1014 0.0874) |
| OKLCH | oklch(46.48% 0.134 139.3) |
| XYZ | xyz(6.2349, 10.8503, 2.4274) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.48
Deep Green
#02590F
ΔE00 6.44
Tree Green
#2A7E19
ΔE00 6.86
Forest
#0B5509
ΔE00 7.22
Darkish Green
#287C37
ΔE00 7.46
Forest Green
#2D5A27
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6A14 #54146A
analogous
#556A14 #2A6A14 #146A29
triadic
#2A6A14 #142A6A #6A142A
tetradic
#2A6A14 #14556A #54146A #6A2914
square
#2A6A14 #14556A #54146A #6A2914
split-complementary
#2A6A14 #29146A #6A1455
monochromatic
#0A1A05 #16370A #2A6A14 #3E9D1E #53D127
Accessibility & contrast
On white
6.62
#2A6A14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#2A6A14 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6A14
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6A14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6A14 | 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)
#6D6001
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#23665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a6a14; /* rgb */ color: rgb(42, 106, 20); /* oklch */ color: oklch(46.5% 0.134 139.3);
Tailwind
colors: {
custom: {
50: '#6c9559',
500: '#2a6a14',
950: '#000000',
},
}SCSS
$custom: #2a6a14; $custom-light: #6c9559; $custom-dark: #000000;
JSON
{
"hex": "#2a6a14",
"rgb": {
"r": 42,
"g": 106,
"b": 20
},
"hsl": {
"h": 104.651,
"s": 68.254,
"l": 24.706
},
"oklch": {
"l": 0.46479,
"c": 0.13386,
"h": 139.3
},
"luminance": 0.10851
}Semantic roles & 50–950 ramp
primary
#2A6A14
secondary
#8639A1
accent
#3DEBBE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79