#2A4E2A#2A4E2A
#2A4E2A is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.6% C 0.073 H 144.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4E2A |
|---|---|
| RGB | rgb(42, 78, 42) |
| HSL | hsl(120, 30%, 24%) |
| HSV | hsv(120, 46%, 31%) |
| CMYK | cmyk(46.2%, 0%, 46.2%, 69.4%) |
| CIE-LAB | lab(29.68, -21.60, 17.35) |
| CIE-LCH | lch(29.68, 27.70, 141.23°) |
| OKLab | oklab(38.64% -0.0588 0.0427) |
| OKLCH | oklch(38.64% 0.073 144) |
| XYZ | xyz(4.0970, 6.1079, 3.1531) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 4.56
Pine
#2B5D34
ΔE00 5.07
Forest Green
#2D5A27
ΔE00 5.10
Hunter Green
#355E3B
ΔE00 5.33
Evergreen
#05472A
ΔE00 5.61
British Racing Green
#05480D
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4E2A #4E2A4E
analogous
#3C4E2A #2A4E2A #2A4E3C
triadic
#2A4E2A #2A2A4E #4E2A2A
tetradic
#2A4E2A #2A3C4E #4E2A4E #4E3C2A
square
#2A4E2A #2A3C4E #4E2A4E #4E3C2A
split-complementary
#2A4E2A #3C2A4E #4E2A3C
monochromatic
#0B140B #152615 #2A4E2A #3F763F #559E55
Accessibility & contrast
On white
9.45
#2A4E2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2A4E2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4E2A
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4E2A | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4827
Deuteranopia (green-blind)
#4A452C
Tritanopia (blue-blind)
#264C45
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a4e2a; /* rgb */ color: rgb(42, 78, 42); /* oklch */ color: oklch(38.6% 0.073 144.0);
Tailwind
colors: {
custom: {
50: '#668064',
500: '#2a4e2a',
950: '#000000',
},
}SCSS
$custom: #2a4e2a; $custom-light: #668064; $custom-dark: #000000;
JSON
{
"hex": "#2a4e2a",
"rgb": {
"r": 42,
"g": 78,
"b": 42
},
"hsl": {
"h": 120,
"s": 30,
"l": 23.529
},
"oklch": {
"l": 0.38637,
"c": 0.07268,
"h": 144
},
"luminance": 0.06108
}Semantic roles & 50–950 ramp
primary
#2A4E2A
secondary
#805480
accent
#62C6C6
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A05
muted
#7A7C7A