#38310B#38310B
#38310B is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.2% C 0.055 H 98.6°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #38310B |
|---|---|
| RGB | rgb(56, 49, 11) |
| HSL | hsl(51, 67%, 13%) |
| HSV | hsv(51, 80%, 22%) |
| CMYK | cmyk(0%, 12.5%, 80.4%, 78%) |
| CIE-LAB | lab(20.29, -2.19, 24.10) |
| CIE-LCH | lch(20.29, 24.20, 95.18°) |
| OKLab | oklab(31.21% -0.0083 0.0545) |
| OKLCH | oklch(31.21% 0.055 98.6) |
| XYZ | xyz(2.7897, 3.0617, 0.7606) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 7.79
Green Brown
#544E03
ΔE00 11.29
Mud Brown
#60460F
ΔE00 11.34
Dark Olive Green
#3C4D03
ΔE00 12.77
Espresso
#4B382A
ΔE00 12.98
Dark Brown
#341C02
ΔE00 13.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38310B #0B1238
analogous
#381A0B #38310B #28380B
triadic
#38310B #0B3831 #310B38
tetradic
#38310B #0B381A #0B1238 #380B28
square
#38310B #0B381A #0B1238 #380B28
split-complementary
#38310B #0B2838 #1A0B38
monochromatic
#1A1605 #1A1605 #38310B #6B5E15 #9E8B1F
Accessibility & contrast
On white
13.02
#38310B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#38310B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38310B
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38310B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38310B | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373006
Deuteranopia (green-blind)
#38320D
Tritanopia (blue-blind)
#3D2D29
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #38310b; /* rgb */ color: rgb(56, 49, 11); /* oklch */ color: oklch(31.2% 0.055 98.6);
Tailwind
colors: {
custom: {
50: '#70684d',
500: '#38310b',
950: '#000000',
},
}SCSS
$custom: #38310b; $custom-light: #70684d; $custom-dark: #000000;
JSON
{
"hex": "#38310b",
"rgb": {
"r": 56,
"g": 49,
"b": 11
},
"hsl": {
"h": 50.667,
"s": 67.164,
"l": 13.137
},
"oklch": {
"l": 0.3121,
"c": 0.05513,
"h": 98.6
},
"luminance": 0.03062
}Semantic roles & 50–950 ramp
primary
#38310B
secondary
#2A3675
accent
#59EA3E
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080601
muted
#7B7A77