#2A281E#2A281E
#2A281E is a dark, near-neutral yellow. Relative luminance 0.021; OKLCH L 27.6% C 0.018 H 98.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2A281E |
|---|---|
| RGB | rgb(42, 40, 30) |
| HSL | hsl(50, 17%, 14%) |
| HSV | hsv(50, 29%, 16%) |
| CMYK | cmyk(0%, 4.8%, 28.6%, 83.5%) |
| CIE-LAB | lab(16.02, -1.19, 6.93) |
| CIE-LCH | lch(16.02, 7.03, 99.77°) |
| OKLab | oklab(27.56% -0.0025 0.0177) |
| OKLCH | oklch(27.56% 0.018 98) |
| XYZ | xyz(1.9480, 2.1036, 1.5315) |
| Luminance | 0.0210 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Charcoal (survey)
#343837
ΔE00 7.82
Dark Grey
#363737
ΔE00 7.83
Onyx
#353839
ΔE00 8.65
Almost Black
#070D0D
ΔE00 10.35
Charcoal Grey
#3C4142
ΔE00 10.73
Gunmetal
#2A3439
ΔE00 11.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A281E #1E202A
analogous
#2A221E #2A281E #262A1E
triadic
#2A281E #1E2A28 #281E2A
tetradic
#2A281E #1E2A22 #1E202A #2A1E26
square
#2A281E #1E2A22 #1E202A #2A1E26
split-complementary
#2A281E #1E262A #221E2A
monochromatic
#12110D #12110D #2A281E #4E4A38 #716C51
Accessibility & contrast
On white
14.78
#2A281E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#2A281E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A281E
14.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A281E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A281E | 1.00 | 14.78 | 1.42 | 14.78 |
| #FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A271D
Deuteranopia (green-blind)
#2B281E
Tritanopia (blue-blind)
#2C2725
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2a281e; /* rgb */ color: rgb(42, 40, 30); /* oklch */ color: oklch(27.6% 0.018 98.0);
Tailwind
colors: {
custom: {
50: '#636159',
500: '#2a281e',
950: '#000000',
},
}SCSS
$custom: #2a281e; $custom-light: #636159; $custom-dark: #000000;
JSON
{
"hex": "#2a281e",
"rgb": {
"r": 42,
"g": 40,
"b": 30
},
"hsl": {
"h": 50,
"s": 16.667,
"l": 14.118
},
"oklch": {
"l": 0.27563,
"c": 0.01784,
"h": 98
},
"luminance": 0.02104
}Semantic roles & 50–950 ramp
primary
#2A281E
secondary
#484C5B
accent
#7BB96E
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050503
muted
#797978