#2A6014#2A6014
#2A6014 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.6% C 0.121 H 138.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6014 |
|---|---|
| RGB | rgb(42, 96, 20) |
| HSL | hsl(103, 66%, 23%) |
| HSV | hsv(103, 79%, 38%) |
| CMYK | cmyk(56.3%, 0%, 79.2%, 62.4%) |
| CIE-LAB | lab(35.81, -32.72, 35.66) |
| CIE-LCH | lch(35.81, 48.39, 132.54°) |
| OKLab | oklab(43.58% -0.0903 0.0802) |
| OKLCH | oklch(43.58% 0.121 138.4) |
| XYZ | xyz(5.2638, 8.9081, 2.1037) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.81
Deep Green
#02590F
ΔE00 4.12
Forest
#0B5509
ΔE00 4.42
Forest Green
#2D5A27
ΔE00 4.81
Navy Green
#35530A
ΔE00 5.54
Camouflage Green
#4B6113
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6014 #4A1460
analogous
#506014 #2A6014 #146024
triadic
#2A6014 #142A60 #60142A
tetradic
#2A6014 #145060 #4A1460 #602414
square
#2A6014 #145060 #4A1460 #602414
split-complementary
#2A6014 #241460 #601450
monochromatic
#0B1905 #142D09 #2A6014 #40931F #56C529
Accessibility & contrast
On white
7.55
#2A6014 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2A6014 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A6014
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6014 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6014 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635705
Deuteranopia (green-blind)
#5C531C
Tritanopia (blue-blind)
#255C51
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a6014; /* rgb */ color: rgb(42, 96, 20); /* oklch */ color: oklch(43.6% 0.121 138.4);
Tailwind
colors: {
custom: {
50: '#6a8e57',
500: '#2a6014',
950: '#000000',
},
}SCSS
$custom: #2a6014; $custom-light: #6a8e57; $custom-dark: #000000;
JSON
{
"hex": "#2a6014",
"rgb": {
"r": 42,
"g": 96,
"b": 20
},
"hsl": {
"h": 102.632,
"s": 65.517,
"l": 22.745
},
"oklch": {
"l": 0.43575,
"c": 0.12078,
"h": 138.4
},
"luminance": 0.08908
}Semantic roles & 50–950 ramp
primary
#2A6014
secondary
#7C3898
accent
#3FE8B8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78