#2A342B#2A342B
#2A342B is a dark, muted green. Relative luminance 0.031; OKLCH L 31.3% C 0.021 H 147.8°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2A342B |
|---|---|
| RGB | rgb(42, 52, 43) |
| HSL | hsl(126, 11%, 18%) |
| HSV | hsv(126, 19%, 20%) |
| CMYK | cmyk(19.2%, 0%, 17.3%, 79.6%) |
| CIE-LAB | lab(20.53, -6.43, 4.30) |
| CIE-LCH | lch(20.53, 7.74, 146.23°) |
| OKLab | oklab(31.26% -0.0177 0.0111) |
| OKLCH | oklch(31.26% 0.021 147.8) |
| XYZ | xyz(2.6188, 3.1226, 2.7498) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Charcoal (survey)
#343837
ΔE00 6.47
Onyx
#353839
ΔE00 8.10
Dark Grey
#363737
ΔE00 8.23
Charcoal Grey
#3C4142
ΔE00 8.63
Gunmetal
#2A3439
ΔE00 8.98
Darkslategray
#2F4F4F
ΔE00 11.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A342B #342A33
analogous
#2E342A #2A342B #2A3430
triadic
#2A342B #2B2A34 #342B2A
tetradic
#2A342B #2A2E34 #342A33 #34302A
square
#2A342B #2A2E34 #342A33 #34302A
split-complementary
#2A342B #302A34 #342A2E
monochromatic
#0E110E #0F120F #2A342B #455647 #617863
Accessibility & contrast
On white
12.93
#2A342B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2A342B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A342B
12.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A342B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A342B | 1.00 | 12.93 | 1.62 | 12.93 |
| #FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34322B
Deuteranopia (green-blind)
#33312B
Tritanopia (blue-blind)
#293331
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2a342b; /* rgb */ color: rgb(42, 52, 43); /* oklch */ color: oklch(31.3% 0.021 147.8);
Tailwind
colors: {
custom: {
50: '#636b64',
500: '#2a342b',
950: '#000000',
},
}SCSS
$custom: #2a342b; $custom-light: #636b64; $custom-dark: #000000;
JSON
{
"hex": "#2a342b",
"rgb": {
"r": 42,
"g": 52,
"b": 43
},
"hsl": {
"h": 126,
"s": 10.638,
"l": 18.431
},
"oklch": {
"l": 0.31256,
"c": 0.0209,
"h": 147.8
},
"luminance": 0.03123
}Semantic roles & 50–950 ramp
primary
#2A342B
secondary
#645662
accent
#74ADB4
background
#F5F6F5
surface
#EAEBEA
border
#C6C6C6
text
#050605
muted
#797A79