#2A642D#2A642D
#2A642D is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.0% C 0.105 H 144.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2A642D |
|---|---|
| RGB | rgb(42, 100, 45) |
| HSL | hsl(123, 41%, 28%) |
| HSV | hsv(123, 58%, 39%) |
| CMYK | cmyk(58%, 0%, 55%, 60.8%) |
| CIE-LAB | lab(37.47, -31.56, 25.39) |
| CIE-LCH | lch(37.47, 40.51, 141.18°) |
| OKLab | oklab(45.03% -0.0857 0.0611) |
| OKLCH | oklch(45.03% 0.105 144.5) |
| XYZ | xyz(5.9853, 9.7955, 4.0574) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.49
Pine
#2B5D34
ΔE00 3.86
Hunter Green
#355E3B
ΔE00 5.40
Spruce
#0A5F38
ΔE00 5.61
Deep Green
#02590F
ΔE00 5.64
Darkgreen
#006400
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A642D #642A61
analogous
#44642A #2A642D #2A644A
triadic
#2A642D #2D2A64 #642D2A
tetradic
#2A642D #2A4464 #642A61 #644A2A
square
#2A642D #2A4464 #642A61 #644A2A
split-complementary
#2A642D #4A2A64 #642A44
monochromatic
#09160A #18391A #2A642D #3C8F40 #52B657
Accessibility & contrast
On white
7.10
#2A642D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2A642D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A642D
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A642D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A642D | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665B28
Deuteranopia (green-blind)
#5E5631
Tritanopia (blue-blind)
#206157
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a642d; /* rgb */ color: rgb(42, 100, 45); /* oklch */ color: oklch(45.0% 0.105 144.5);
Tailwind
colors: {
custom: {
50: '#699167',
500: '#2a642d',
950: '#000000',
},
}SCSS
$custom: #2a642d; $custom-light: #699167; $custom-dark: #000000;
JSON
{
"hex": "#2a642d",
"rgb": {
"r": 42,
"g": 100,
"b": 45
},
"hsl": {
"h": 123.103,
"s": 40.845,
"l": 27.843
},
"oklch": {
"l": 0.4503,
"c": 0.10521,
"h": 144.5
},
"luminance": 0.09796
}Semantic roles & 50–950 ramp
primary
#2A642D
secondary
#965393
accent
#57CAD1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070D06
muted
#7A7D7A