#2A281F#2A281F
#2A281F is a dark, near-neutral yellow. Relative luminance 0.021; OKLCH L 27.6% C 0.016 H 96.9°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2A281F |
|---|---|
| RGB | rgb(42, 40, 31) |
| HSL | hsl(49, 15%, 14%) |
| HSV | hsv(49, 26%, 16%) |
| CMYK | cmyk(0%, 4.8%, 26.2%, 83.5%) |
| CIE-LAB | lab(16.05, -1.00, 6.27) |
| CIE-LCH | lch(16.05, 6.35, 99.09°) |
| OKLab | oklab(27.59% -0.0019 0.016) |
| OKLCH | oklch(27.59% 0.016 96.9) |
| XYZ | xyz(1.9610, 2.1088, 1.5998) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Grey
#363737
ΔE00 7.41
Charcoal (survey)
#343837
ΔE00 7.47
Onyx
#353839
ΔE00 8.24
Almost Black
#070D0D
ΔE00 10.07
Charcoal Grey
#3C4142
ΔE00 10.40
Gunmetal
#2A3439
ΔE00 10.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A281F #1F212A
analogous
#2A231F #2A281F #272A1F
triadic
#2A281F #1F2A28 #281F2A
tetradic
#2A281F #1F2A23 #1F212A #2A1F27
square
#2A281F #1F2A23 #1F212A #2A1F27
split-complementary
#2A281F #1F272A #231F2A
monochromatic
#12110D #12110D #2A281F #4D4A39 #706B53
Accessibility & contrast
On white
14.77
#2A281F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#2A281F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A281F
14.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A281F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A281F | 1.00 | 14.77 | 1.42 | 14.77 |
| #FFFFFF | 14.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A271E
Deuteranopia (green-blind)
#2A281F
Tritanopia (blue-blind)
#2C2726
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2a281f; /* rgb */ color: rgb(42, 40, 31); /* oklch */ color: oklch(27.6% 0.016 96.9);
Tailwind
colors: {
custom: {
50: '#63615a',
500: '#2a281f',
950: '#000000',
},
}SCSS
$custom: #2a281f; $custom-light: #63615a; $custom-dark: #000000;
JSON
{
"hex": "#2a281f",
"rgb": {
"r": 42,
"g": 40,
"b": 31
},
"hsl": {
"h": 49.091,
"s": 15.068,
"l": 14.314
},
"oklch": {
"l": 0.27593,
"c": 0.01617,
"h": 96.9
},
"luminance": 0.02109
}Semantic roles & 50–950 ramp
primary
#2A281F
secondary
#4A4D5B
accent
#7DB870
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050503
muted
#797978