#2A642C#2A642C
#2A642C is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.0% C 0.106 H 144.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2A642C |
|---|---|
| RGB | rgb(42, 100, 44) |
| HSL | hsl(122, 41%, 28%) |
| HSV | hsv(122, 58%, 39%) |
| CMYK | cmyk(58%, 0%, 56%, 60.8%) |
| CIE-LAB | lab(37.46, -31.71, 25.92) |
| CIE-LCH | lch(37.46, 40.96, 140.74°) |
| OKLab | oklab(45.01% -0.0861 0.0622) |
| OKLCH | oklch(45.01% 0.106 144.2) |
| XYZ | xyz(5.9663, 9.7879, 3.9572) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.50
Pine
#2B5D34
ΔE00 4.04
Deep Green
#02590F
ΔE00 5.51
Hunter Green
#355E3B
ΔE00 5.59
Spruce
#0A5F38
ΔE00 5.80
Darkgreen
#006400
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A642C #642A62
analogous
#45642A #2A642C #2A6449
triadic
#2A642C #2C2A64 #642C2A
tetradic
#2A642C #2A4564 #642A62 #64492A
square
#2A642C #2A4564 #642A62 #64492A
split-complementary
#2A642C #492A64 #642A45
monochromatic
#091609 #183919 #2A642C #3C8F3F #52B656
Accessibility & contrast
On white
7.10
#2A642C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2A642C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A642C
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A642C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A642C | 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)
#665B27
Deuteranopia (green-blind)
#5E5630
Tritanopia (blue-blind)
#206157
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a642c; /* rgb */ color: rgb(42, 100, 44); /* oklch */ color: oklch(45.0% 0.106 144.2);
Tailwind
colors: {
custom: {
50: '#6a9166',
500: '#2a642c',
950: '#000000',
},
}SCSS
$custom: #2a642c; $custom-light: #6a9166; $custom-dark: #000000;
JSON
{
"hex": "#2a642c",
"rgb": {
"r": 42,
"g": 100,
"b": 44
},
"hsl": {
"h": 122.069,
"s": 40.845,
"l": 27.843
},
"oklch": {
"l": 0.45014,
"c": 0.10622,
"h": 144.2
},
"luminance": 0.09788
}Semantic roles & 50–950 ramp
primary
#2A642C
secondary
#965394
accent
#57CCD1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070D06
muted
#7A7D7A