#38310F#38310F
#38310F is a dark, muted yellow. Relative luminance 0.031; OKLCH L 31.3% C 0.051 H 97.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).
Color values
| HEX | #38310F |
|---|---|
| RGB | rgb(56, 49, 15) |
| HSL | hsl(50, 58%, 14%) |
| HSV | hsv(50, 73%, 22%) |
| CMYK | cmyk(0%, 12.5%, 73.2%, 78%) |
| CIE-LAB | lab(20.33, -1.89, 22.23) |
| CIE-LCH | lch(20.33, 22.31, 94.85°) |
| OKLab | oklab(31.26% -0.0068 0.0509) |
| OKLCH | oklch(31.26% 0.051 97.7) |
| XYZ | xyz(2.8155, 3.0720, 0.8965) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 8.36
Mud Brown
#60460F
ΔE00 11.61
Green Brown
#544E03
ΔE00 11.83
Espresso
#4B382A
ΔE00 12.35
Dark Brown
#341C02
ΔE00 12.94
Dark Olive Green
#3C4D03
ΔE00 13.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38310F #0F1638
analogous
#381D0F #38310F #2B380F
triadic
#38310F #0F3831 #310F38
tetradic
#38310F #0F381D #0F1638 #380F2B
square
#38310F #0F381D #0F1638 #380F2B
split-complementary
#38310F #0F2B38 #1D0F38
monochromatic
#181506 #181506 #38310F #685B1C #998529
Accessibility & contrast
On white
13.01
#38310F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#38310F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38310F
13.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38310F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38310F | 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)
#36300B
Deuteranopia (green-blind)
#383211
Tritanopia (blue-blind)
#3D2D2A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #38310f; /* rgb */ color: rgb(56, 49, 15); /* oklch */ color: oklch(31.3% 0.051 97.7);
Tailwind
colors: {
custom: {
50: '#70684f',
500: '#38310f',
950: '#000000',
},
}SCSS
$custom: #38310f; $custom-light: #70684f; $custom-dark: #000000;
JSON
{
"hex": "#38310f",
"rgb": {
"r": 56,
"g": 49,
"b": 15
},
"hsl": {
"h": 49.756,
"s": 57.746,
"l": 13.922
},
"oklch": {
"l": 0.31256,
"c": 0.05134,
"h": 97.7
},
"luminance": 0.03072
}Semantic roles & 50–950 ramp
primary
#38310F
secondary
#303C72
accent
#61E147
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#080602
muted
#7B7A78