#312B0F#312B0F
#312B0F is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.8% C 0.044 H 97.4°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).
Color values
| HEX | #312B0F |
|---|---|
| RGB | rgb(49, 43, 15) |
| HSL | hsl(49, 53%, 13%) |
| HSV | hsv(49, 69%, 19%) |
| CMYK | cmyk(0%, 12.2%, 69.4%, 80.8%) |
| CIE-LAB | lab(17.53, -1.67, 18.76) |
| CIE-LCH | lch(17.53, 18.84, 95.10°) |
| OKLab | oklab(28.85% -0.0057 0.044) |
| OKLCH | oklch(28.85% 0.044 97.4) |
| XYZ | xyz(2.2168, 2.4153, 0.8013) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 10.18
Dark Brown
#341C02
ΔE00 12.18
Espresso
#4B382A
ΔE00 12.20
Mud Brown
#60460F
ΔE00 13.84
Charcoal (survey)
#343837
ΔE00 13.90
Dark Grey
#363737
ΔE00 13.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#312B0F #0F1531
analogous
#311A0F #312B0F #26310F
triadic
#312B0F #0F312B #2B0F31
tetradic
#312B0F #0F311A #0F1531 #310F26
square
#312B0F #0F311A #0F1531 #310F26
split-complementary
#312B0F #0F2631 #1A0F31
monochromatic
#171507 #171507 #312B0F #60541D #8F7D2C
Accessibility & contrast
On white
14.16
#312B0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#312B0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #312B0F
14.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##312B0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##312B0F | 1.00 | 14.16 | 1.48 | 14.16 |
| #FFFFFF | 14.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302A0C
Deuteranopia (green-blind)
#312C10
Tritanopia (blue-blind)
#352825
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #312b0f; /* rgb */ color: rgb(49, 43, 15); /* oklch */ color: oklch(28.8% 0.044 97.4);
Tailwind
colors: {
custom: {
50: '#6a644e',
500: '#312b0f',
950: '#000000',
},
}SCSS
$custom: #312b0f; $custom-light: #6a644e; $custom-dark: #000000;
JSON
{
"hex": "#312b0f",
"rgb": {
"r": 49,
"g": 43,
"b": 15
},
"hsl": {
"h": 49.412,
"s": 53.125,
"l": 12.549
},
"oklch": {
"l": 0.2885,
"c": 0.04432,
"h": 97.4
},
"luminance": 0.02415
}Semantic roles & 50–950 ramp
primary
#312B0F
secondary
#313B6B
accent
#65DD4B
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977