#2A6015#2A6015
#2A6015 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.6% C 0.120 H 138.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6015 |
|---|---|
| RGB | rgb(42, 96, 21) |
| HSL | hsl(103, 64%, 23%) |
| HSV | hsv(103, 78%, 38%) |
| CMYK | cmyk(56.3%, 0%, 78.1%, 62.4%) |
| CIE-LAB | lab(35.81, -32.64, 35.26) |
| CIE-LCH | lch(35.81, 48.05, 132.79°) |
| OKLab | oklab(43.58% -0.0901 0.0795) |
| OKLCH | oklch(43.58% 0.12 138.6) |
| XYZ | xyz(5.2729, 8.9117, 2.1516) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.86
Deep Green
#02590F
ΔE00 4.07
Forest
#0B5509
ΔE00 4.40
Forest Green
#2D5A27
ΔE00 4.68
Navy Green
#35530A
ΔE00 5.57
Camouflage Green
#4B6113
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6015 #4B1560
analogous
#4F6015 #2A6015 #156025
triadic
#2A6015 #152A60 #60152A
tetradic
#2A6015 #154F60 #4B1560 #602515
square
#2A6015 #154F60 #4B1560 #602515
split-complementary
#2A6015 #251560 #60154F
monochromatic
#0B1905 #142E0A #2A6015 #409220 #56C42B
Accessibility & contrast
On white
7.55
#2A6015 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2A6015 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A6015
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6015 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6015 | 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)
#635707
Deuteranopia (green-blind)
#5C531D
Tritanopia (blue-blind)
#255C51
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a6015; /* rgb */ color: rgb(42, 96, 21); /* oklch */ color: oklch(43.6% 0.120 138.6);
Tailwind
colors: {
custom: {
50: '#6a8e58',
500: '#2a6015',
950: '#000000',
},
}SCSS
$custom: #2a6015; $custom-light: #6a8e58; $custom-dark: #000000;
JSON
{
"hex": "#2a6015",
"rgb": {
"r": 42,
"g": 96,
"b": 21
},
"hsl": {
"h": 103.2,
"s": 64.103,
"l": 22.941
},
"oklch": {
"l": 0.43583,
"c": 0.12014,
"h": 138.6
},
"luminance": 0.08912
}Semantic roles & 50–950 ramp
primary
#2A6015
secondary
#7D3A97
accent
#41E7B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78