#2A6214#2A6214
#2A6214 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.2% C 0.123 H 138.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6214 |
|---|---|
| RGB | rgb(42, 98, 20) |
| HSL | hsl(103, 66%, 23%) |
| HSV | hsv(103, 80%, 38%) |
| CMYK | cmyk(57.1%, 0%, 79.6%, 61.6%) |
| CIE-LAB | lab(36.51, -33.56, 36.36) |
| CIE-LCH | lch(36.51, 49.48, 132.71°) |
| OKLab | oklab(44.16% -0.0926 0.0816) |
| OKLCH | oklch(44.16% 0.123 138.6) |
| XYZ | xyz(5.4486, 9.2777, 2.1653) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.47
Deep Green
#02590F
ΔE00 4.46
Forest
#0B5509
ΔE00 4.91
Forest Green
#2D5A27
ΔE00 5.28
Navy Green
#35530A
ΔE00 6.09
Camouflage Green
#4B6113
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6214 #4C1462
analogous
#516214 #2A6214 #146225
triadic
#2A6214 #142A62 #62142A
tetradic
#2A6214 #145162 #4C1462 #622514
square
#2A6214 #145162 #4C1462 #622514
split-complementary
#2A6214 #251462 #621451
monochromatic
#0B1905 #142F0A #2A6214 #40951E #56C829
Accessibility & contrast
On white
7.35
#2A6214 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2A6214 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A6214
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6214 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6214 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655905
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#255E53
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2a6214; /* rgb */ color: rgb(42, 98, 20); /* oklch */ color: oklch(44.2% 0.123 138.6);
Tailwind
colors: {
custom: {
50: '#6a8f58',
500: '#2a6214',
950: '#000000',
},
}SCSS
$custom: #2a6214; $custom-light: #6a8f58; $custom-dark: #000000;
JSON
{
"hex": "#2a6214",
"rgb": {
"r": 42,
"g": 98,
"b": 20
},
"hsl": {
"h": 103.077,
"s": 66.102,
"l": 23.137
},
"oklch": {
"l": 0.44157,
"c": 0.12345,
"h": 138.6
},
"luminance": 0.09278
}Semantic roles & 50–950 ramp
primary
#2A6214
secondary
#7E3899
accent
#3FE9B9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78