#38310E#38310E
#38310E is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.2% C 0.052 H 97.9°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).
Color values
| HEX | #38310E |
|---|---|
| RGB | rgb(56, 49, 14) |
| HSL | hsl(50, 60%, 14%) |
| HSV | hsv(50, 75%, 22%) |
| CMYK | cmyk(0%, 12.5%, 75%, 78%) |
| CIE-LAB | lab(20.32, -1.97, 22.73) |
| CIE-LCH | lch(20.32, 22.82, 94.94°) |
| OKLab | oklab(31.24% -0.0072 0.0518) |
| OKLCH | oklch(31.24% 0.052 97.9) |
| XYZ | xyz(2.8086, 3.0692, 0.8599) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 8.20
Mud Brown
#60460F
ΔE00 11.53
Green Brown
#544E03
ΔE00 11.68
Espresso
#4B382A
ΔE00 12.52
Dark Brown
#341C02
ΔE00 13.02
Dark Olive Green
#3C4D03
ΔE00 13.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38310E #0E1538
analogous
#381C0E #38310E #2A380E
triadic
#38310E #0E3831 #310E38
tetradic
#38310E #0E381C #0E1538 #380E2A
square
#38310E #0E381C #0E1538 #380E2A
split-complementary
#38310E #0E2A38 #1C0E38
monochromatic
#181506 #181506 #38310E #695C1A #9A8726
Accessibility & contrast
On white
13.01
#38310E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#38310E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38310E
13.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38310E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38310E | 1.00 | 13.01 | 1.61 | 13.01 |
| #FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36300A
Deuteranopia (green-blind)
#383210
Tritanopia (blue-blind)
#3D2D2A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #38310e; /* rgb */ color: rgb(56, 49, 14); /* oklch */ color: oklch(31.2% 0.052 97.9);
Tailwind
colors: {
custom: {
50: '#70684e',
500: '#38310e',
950: '#000000',
},
}SCSS
$custom: #38310e; $custom-light: #70684e; $custom-dark: #000000;
JSON
{
"hex": "#38310e",
"rgb": {
"r": 56,
"g": 49,
"b": 14
},
"hsl": {
"h": 50,
"s": 60,
"l": 13.725
},
"oklch": {
"l": 0.31243,
"c": 0.05234,
"h": 97.9
},
"luminance": 0.03069
}Semantic roles & 50–950 ramp
primary
#38310E
secondary
#2F3A73
accent
#5FE345
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080601
muted
#7B7A77