#2A342A#2A342A
#2A342A is a dark, muted green. Relative luminance 0.031; OKLCH L 31.2% C 0.022 H 145.0°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2A342A |
|---|---|
| RGB | rgb(42, 52, 42) |
| HSL | hsl(120, 11%, 18%) |
| HSV | hsv(120, 19%, 20%) |
| CMYK | cmyk(19.2%, 0%, 19.2%, 79.6%) |
| CIE-LAB | lab(20.50, -6.66, 4.94) |
| CIE-LCH | lch(20.50, 8.29, 143.43°) |
| OKLab | oklab(31.22% -0.0182 0.0127) |
| OKLCH | oklch(31.22% 0.022 145) |
| XYZ | xyz(2.6007, 3.1153, 2.6543) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Charcoal (survey)
#343837
ΔE00 6.89
Onyx
#353839
ΔE00 8.54
Dark Grey
#363737
ΔE00 8.62
Charcoal Grey
#3C4142
ΔE00 9.04
Gunmetal
#2A3439
ΔE00 9.53
Darkslategray
#2F4F4F
ΔE00 11.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A342A #342A34
analogous
#2F342A #2A342A #2A342F
triadic
#2A342A #2A2A34 #342A2A
tetradic
#2A342A #2A2F34 #342A34 #342F2A
square
#2A342A #2A2F34 #342A34 #342F2A
split-complementary
#2A342A #2F2A34 #342A2F
monochromatic
#0E110E #0F120F #2A342A #455645 #617861
Accessibility & contrast
On white
12.94
#2A342A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2A342A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A342A
12.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A342A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A342A | 1.00 | 12.94 | 1.62 | 12.94 |
| #FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343229
Deuteranopia (green-blind)
#33312A
Tritanopia (blue-blind)
#293331
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2a342a; /* rgb */ color: rgb(42, 52, 42); /* oklch */ color: oklch(31.2% 0.022 145.0);
Tailwind
colors: {
custom: {
50: '#636b63',
500: '#2a342a',
950: '#000000',
},
}SCSS
$custom: #2a342a; $custom-light: #636b63; $custom-dark: #000000;
JSON
{
"hex": "#2a342a",
"rgb": {
"r": 42,
"g": 52,
"b": 42
},
"hsl": {
"h": 120,
"s": 10.638,
"l": 18.431
},
"oklch": {
"l": 0.31224,
"c": 0.02225,
"h": 145
},
"luminance": 0.03115
}Semantic roles & 50–950 ramp
primary
#2A342A
secondary
#645664
accent
#74B4B4
background
#F5F6F5
surface
#EAEBEA
border
#C6C6C6
text
#050605
muted
#797A79