#2B270F#2B270F
#2B270F is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.1% C 0.039 H 100.0°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2B270F |
|---|---|
| RGB | rgb(43, 39, 15) |
| HSL | hsl(51, 48%, 11%) |
| HSV | hsv(51, 65%, 17%) |
| CMYK | cmyk(0%, 9.3%, 65.1%, 83.1%) |
| CIE-LAB | lab(15.48, -2.23, 16.07) |
| CIE-LCH | lch(15.48, 16.23, 97.89°) |
| OKLab | oklab(27.06% -0.0068 0.0386) |
| OKLCH | oklch(27.06% 0.039 100) |
| XYZ | xyz(1.8081, 1.9992, 0.7425) |
| Luminance | 0.0200 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 11.39
Dark Brown
#341C02
ΔE00 12.77
Charcoal (survey)
#343837
ΔE00 12.97
Espresso
#4B382A
ΔE00 13.02
Dark Grey
#363737
ΔE00 13.12
Onyx
#353839
ΔE00 14.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B270F #0F132B
analogous
#2B190F #2B270F #212B0F
triadic
#2B270F #0F2B27 #270F2B
tetradic
#2B270F #0F2B19 #0F132B #2B0F21
square
#2B270F #0F2B19 #0F132B #2B0F21
split-complementary
#2B270F #0F212B #190F2B
monochromatic
#171508 #171508 #2B270F #58501F #86792F
Accessibility & contrast
On white
15.00
#2B270F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#2B270F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B270F
15.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B270F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B270F | 1.00 | 15.00 | 1.40 | 15.00 |
| #FFFFFF | 15.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B260D
Deuteranopia (green-blind)
#2C2710
Tritanopia (blue-blind)
#2F2421
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #2b270f; /* rgb */ color: rgb(43, 39, 15); /* oklch */ color: oklch(27.1% 0.039 100.0);
Tailwind
colors: {
custom: {
50: '#65604e',
500: '#2b270f',
950: '#000000',
},
}SCSS
$custom: #2b270f; $custom-light: #65604e; $custom-dark: #000000;
JSON
{
"hex": "#2b270f",
"rgb": {
"r": 43,
"g": 39,
"b": 15
},
"hsl": {
"h": 51.429,
"s": 48.276,
"l": 11.373
},
"oklch": {
"l": 0.27064,
"c": 0.03917,
"h": 100
},
"luminance": 0.01999
}Semantic roles & 50–950 ramp
primary
#2B270F
secondary
#323964
accent
#63D850
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977