#2A271D#2A271D
#2A271D is a dark, near-neutral yellow. Relative luminance 0.020; OKLCH L 27.3% C 0.018 H 93.3°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2A271D |
|---|---|
| RGB | rgb(42, 39, 29) |
| HSL | hsl(46, 18%, 14%) |
| HSV | hsv(46, 31%, 16%) |
| CMYK | cmyk(0%, 7.1%, 31%, 83.5%) |
| CIE-LAB | lab(15.65, -0.69, 7.12) |
| CIE-LCH | lch(15.65, 7.16, 95.55°) |
| OKLab | oklab(27.27% -0.0011 0.0181) |
| OKLCH | oklch(27.27% 0.018 93.3) |
| XYZ | xyz(1.9021, 2.0320, 1.4542) |
| Luminance | 0.0203 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Grey
#363737
ΔE00 8.06
Charcoal (survey)
#343837
ΔE00 8.22
Onyx
#353839
ΔE00 8.94
Almost Black
#070D0D
ΔE00 10.34
Charcoal Grey
#3C4142
ΔE00 11.09
Espresso
#4B382A
ΔE00 11.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A271D #1D202A
analogous
#2A211D #2A271D #272A1D
triadic
#2A271D #1D2A27 #271D2A
tetradic
#2A271D #1D2A21 #1D202A #2A1D27
square
#2A271D #1D2A21 #1D202A #2A1D27
split-complementary
#2A271D #1D272A #211D2A
monochromatic
#12110C #12110C #2A271D #4E4936 #726A4F
Accessibility & contrast
On white
14.93
#2A271D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#2A271D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A271D
14.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A271D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A271D | 1.00 | 14.93 | 1.41 | 14.93 |
| #FFFFFF | 14.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29261C
Deuteranopia (green-blind)
#2A271D
Tritanopia (blue-blind)
#2C2524
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #2a271d; /* rgb */ color: rgb(42, 39, 29); /* oklch */ color: oklch(27.3% 0.018 93.3);
Tailwind
colors: {
custom: {
50: '#636158',
500: '#2a271d',
950: '#000000',
},
}SCSS
$custom: #2a271d; $custom-light: #636158; $custom-dark: #000000;
JSON
{
"hex": "#2a271d",
"rgb": {
"r": 42,
"g": 39,
"b": 29
},
"hsl": {
"h": 46.154,
"s": 18.31,
"l": 13.922
},
"oklch": {
"l": 0.27265,
"c": 0.01816,
"h": 93.3
},
"luminance": 0.02032
}Semantic roles & 50–950 ramp
primary
#2A271D
secondary
#474C5C
accent
#7FBB6D
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050503
muted
#797978