#2A4E2C#2A4E2C
#2A4E2C is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.7% C 0.070 H 145.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4E2C |
|---|---|
| RGB | rgb(42, 78, 44) |
| HSL | hsl(123, 30%, 24%) |
| HSV | hsv(123, 46%, 31%) |
| CMYK | cmyk(46.2%, 0%, 43.6%, 69.4%) |
| CIE-LAB | lab(29.72, -21.23, 16.18) |
| CIE-LCH | lch(29.72, 26.70, 142.69°) |
| OKLab | oklab(38.68% -0.0578 0.0401) |
| OKLCH | oklch(38.68% 0.07 145.3) |
| XYZ | xyz(4.1336, 6.1226, 3.3464) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 4.76
Pine
#2B5D34
ΔE00 5.15
Hunter Green
#355E3B
ΔE00 5.23
Evergreen
#05472A
ΔE00 5.33
Forest Green
#2D5A27
ΔE00 5.52
British Racing Green
#05480D
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4E2C #4E2A4C
analogous
#3A4E2A #2A4E2C #2A4E3E
triadic
#2A4E2C #2C2A4E #4E2C2A
tetradic
#2A4E2C #2A3A4E #4E2A4C #4E3E2A
square
#2A4E2C #2A3A4E #4E2A4C #4E3E2A
split-complementary
#2A4E2C #3E2A4E #4E2A3A
monochromatic
#0B140B #152616 #2A4E2C #3F7642 #559E59
Accessibility & contrast
On white
9.44
#2A4E2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2A4E2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4E2C
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4E2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4E2C | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F482A
Deuteranopia (green-blind)
#4A452E
Tritanopia (blue-blind)
#254C46
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a4e2c; /* rgb */ color: rgb(42, 78, 44); /* oklch */ color: oklch(38.7% 0.070 145.3);
Tailwind
colors: {
custom: {
50: '#668065',
500: '#2a4e2c',
950: '#000000',
},
}SCSS
$custom: #2a4e2c; $custom-light: #668065; $custom-dark: #000000;
JSON
{
"hex": "#2a4e2c",
"rgb": {
"r": 42,
"g": 78,
"b": 44
},
"hsl": {
"h": 123.333,
"s": 30,
"l": 23.529
},
"oklch": {
"l": 0.38679,
"c": 0.07033,
"h": 145.3
},
"luminance": 0.06123
}Semantic roles & 50–950 ramp
primary
#2A4E2C
secondary
#80547E
accent
#62C1C6
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A05
muted
#7A7C7A