#3A310C#3A310C
#3A310C is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.5% C 0.054 H 95.3°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3A310C |
|---|---|
| RGB | rgb(58, 49, 12) |
| HSL | hsl(48, 66%, 14%) |
| HSV | hsv(48, 79%, 23%) |
| CMYK | cmyk(0%, 15.5%, 79.3%, 77.3%) |
| CIE-LAB | lab(20.53, -1.04, 23.99) |
| CIE-LCH | lch(20.53, 24.01, 92.49°) |
| OKLab | oklab(31.46% -0.005 0.0542) |
| OKLCH | oklch(31.46% 0.054 95.3) |
| XYZ | xyz(2.9097, 3.1229, 0.7973) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 8.63
Mud Brown
#60460F
ΔE00 10.70
Green Brown
#544E03
ΔE00 11.41
Espresso
#4B382A
ΔE00 12.04
Dark Brown
#341C02
ΔE00 12.32
Dark Olive Green
#3C4D03
ΔE00 13.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A310C #0C153A
analogous
#3A1A0C #3A310C #2C3A0C
triadic
#3A310C #0C3A31 #310C3A
tetradic
#3A310C #0C3A1A #0C153A #3A0C2C
square
#3A310C #0C3A1A #0C153A #3A0C2C
split-complementary
#3A310C #0C2C3A #1A0C3A
monochromatic
#191505 #191505 #3A310C #6D5C16 #9F8721
Accessibility & contrast
On white
12.93
#3A310C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#3A310C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A310C
12.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A310C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A310C | 1.00 | 12.93 | 1.62 | 12.93 |
| #FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373007
Deuteranopia (green-blind)
#39330E
Tritanopia (blue-blind)
#3F2D29
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #3a310c; /* rgb */ color: rgb(58, 49, 12); /* oklch */ color: oklch(31.5% 0.054 95.3);
Tailwind
colors: {
custom: {
50: '#72684d',
500: '#3a310c',
950: '#000000',
},
}SCSS
$custom: #3a310c; $custom-light: #72684d; $custom-dark: #000000;
JSON
{
"hex": "#3a310c",
"rgb": {
"r": 58,
"g": 49,
"b": 12
},
"hsl": {
"h": 48.261,
"s": 65.714,
"l": 13.725
},
"oklch": {
"l": 0.31458,
"c": 0.05446,
"h": 95.3
},
"luminance": 0.03123
}Semantic roles & 50–950 ramp
primary
#3A310C
secondary
#2C3A76
accent
#60E93F
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#080601
muted
#7B7A77