#2B271B#2B271B
#2B271B is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.3% C 0.022 H 91.8°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2B271B |
|---|---|
| RGB | rgb(43, 39, 27) |
| HSL | hsl(45, 23%, 14%) |
| HSV | hsv(45, 37%, 17%) |
| CMYK | cmyk(0%, 9.3%, 37.2%, 83.1%) |
| CIE-LAB | lab(15.72, -0.54, 8.62) |
| CIE-LCH | lch(15.72, 8.64, 93.59°) |
| OKLab | oklab(27.32% -0.0007 0.0217) |
| OKLCH | oklch(27.32% 0.022 91.8) |
| XYZ | xyz(1.9196, 2.0438, 1.3301) |
| Luminance | 0.0204 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Grey
#363737
ΔE00 8.91
Charcoal (survey)
#343837
ΔE00 9.10
Onyx
#353839
ΔE00 9.84
Espresso
#4B382A
ΔE00 10.87
Almost Black
#070D0D
ΔE00 11.14
Charcoal Grey
#3C4142
ΔE00 11.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B271B #1B1F2B
analogous
#2B1F1B #2B271B #272B1B
triadic
#2B271B #1B2B27 #271B2B
tetradic
#2B271B #1B2B1F #1B1F2B #2B1B27
square
#2B271B #1B2B1F #1B1F2B #2B1B27
split-complementary
#2B271B #1B272B #1F1B2B
monochromatic
#13110C #13110C #2B271B #514933 #766B4A
Accessibility & contrast
On white
14.91
#2B271B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#2B271B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B271B
14.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B271B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B271B | 1.00 | 14.91 | 1.41 | 14.91 |
| #FFFFFF | 14.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A261A
Deuteranopia (green-blind)
#2B281B
Tritanopia (blue-blind)
#2E2524
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #2b271b; /* rgb */ color: rgb(43, 39, 27); /* oklch */ color: oklch(27.3% 0.022 91.8);
Tailwind
colors: {
custom: {
50: '#646057',
500: '#2b271b',
950: '#000000',
},
}SCSS
$custom: #2b271b; $custom-light: #646057; $custom-dark: #000000;
JSON
{
"hex": "#2b271b",
"rgb": {
"r": 43,
"g": 39,
"b": 27
},
"hsl": {
"h": 45,
"s": 22.857,
"l": 13.725
},
"oklch": {
"l": 0.27324,
"c": 0.02172,
"h": 91.8
},
"luminance": 0.02044
}Semantic roles & 50–950 ramp
primary
#2B271B
secondary
#444A5E
accent
#7EBF68
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#050503
muted
#7A7978