#2A6742#2A6742
#2A6742 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.3% C 0.088 H 154.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6742 |
|---|---|
| RGB | rgb(42, 103, 66) |
| HSL | hsl(144, 42%, 28%) |
| HSV | hsv(144, 59%, 40%) |
| CMYK | cmyk(59.2%, 0%, 35.9%, 59.6%) |
| CIE-LAB | lab(38.87, -29.08, 15.11) |
| CIE-LCH | lch(38.87, 32.77, 152.54°) |
| OKLab | oklab(46.3% -0.079 0.038) |
| OKLCH | oklch(46.3% 0.088 154.3) |
| XYZ | xyz(6.7879, 10.5855, 6.8387) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.74
Pine
#2B5D34
ΔE00 3.95
Hunter Green
#355E3B
ΔE00 3.98
Forest Green
#2D5A27
ΔE00 6.74
Dark Green Blue
#1F6357
ΔE00 9.14
Darkish Green
#287C37
ΔE00 9.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6742 #672A4F
analogous
#30672A #2A6742 #2A6760
triadic
#2A6742 #422A67 #67422A
tetradic
#2A6742 #2A3067 #672A4F #67602A
square
#2A6742 #2A3067 #672A4F #67602A
split-complementary
#2A6742 #602A67 #672A30
monochromatic
#09160E #183C26 #2A6742 #3C925E #53B97B
Accessibility & contrast
On white
6.74
#2A6742 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2A6742 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6742
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6742 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6742 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675F40
Deuteranopia (green-blind)
#5E5944
Tritanopia (blue-blind)
#18665D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a6742; /* rgb */ color: rgb(42, 103, 66); /* oklch */ color: oklch(46.3% 0.088 154.3);
Tailwind
colors: {
custom: {
50: '#699376',
500: '#2a6742',
950: '#000000',
},
}SCSS
$custom: #2a6742; $custom-light: #699376; $custom-dark: #000000;
JSON
{
"hex": "#2a6742",
"rgb": {
"r": 42,
"g": 103,
"b": 66
},
"hsl": {
"h": 143.607,
"s": 42.069,
"l": 28.431
},
"oklch": {
"l": 0.46296,
"c": 0.08772,
"h": 154.3
},
"luminance": 0.10586
}Semantic roles & 50–950 ramp
primary
#2A6742
secondary
#99547E
accent
#56A1D2
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D08
muted
#7A7E7B