#2A4E2E#2A4E2E
#2A4E2E is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.7% C 0.068 H 146.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4E2E |
|---|---|
| RGB | rgb(42, 78, 46) |
| HSL | hsl(127, 30%, 24%) |
| HSV | hsv(127, 46%, 31%) |
| CMYK | cmyk(46.2%, 0%, 41%, 69.4%) |
| CIE-LAB | lab(29.76, -20.85, 15.01) |
| CIE-LCH | lch(29.76, 25.69, 144.26°) |
| OKLab | oklab(38.72% -0.0568 0.0374) |
| OKLCH | oklch(38.72% 0.068 146.6) |
| XYZ | xyz(4.1722, 6.1380, 3.5491) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 5.06
Evergreen
#05472A
ΔE00 5.12
Hunter Green
#355E3B
ΔE00 5.21
Pine
#2B5D34
ΔE00 5.32
Forest Green
#2D5A27
ΔE00 6.00
Spruce
#0A5F38
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4E2E #4E2A4A
analogous
#384E2A #2A4E2E #2A4E40
triadic
#2A4E2E #2E2A4E #4E2E2A
tetradic
#2A4E2E #2A384E #4E2A4A #4E402A
square
#2A4E2E #2A384E #4E2A4A #4E402A
split-complementary
#2A4E2E #402A4E #4E2A38
monochromatic
#0B140C #152617 #2A4E2E #3F7645 #559E5D
Accessibility & contrast
On white
9.43
#2A4E2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2A4E2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4E2E
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4E2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4E2E | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F482C
Deuteranopia (green-blind)
#4A4530
Tritanopia (blue-blind)
#254C46
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a4e2e; /* rgb */ color: rgb(42, 78, 46); /* oklch */ color: oklch(38.7% 0.068 146.6);
Tailwind
colors: {
custom: {
50: '#668067',
500: '#2a4e2e',
950: '#000000',
},
}SCSS
$custom: #2a4e2e; $custom-light: #668067; $custom-dark: #000000;
JSON
{
"hex": "#2a4e2e",
"rgb": {
"r": 42,
"g": 78,
"b": 46
},
"hsl": {
"h": 126.667,
"s": 30,
"l": 23.529
},
"oklch": {
"l": 0.38723,
"c": 0.06796,
"h": 146.6
},
"luminance": 0.06138
}Semantic roles & 50–950 ramp
primary
#2A4E2E
secondary
#80547B
accent
#62BBC6
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A