#342D0F#342D0F
#342D0F is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.7% C 0.047 H 96.3°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #342D0F |
|---|---|
| RGB | rgb(52, 45, 15) |
| HSL | hsl(49, 55%, 13%) |
| HSV | hsv(49, 71%, 20%) |
| CMYK | cmyk(0%, 13.5%, 71.2%, 79.6%) |
| CIE-LAB | lab(18.55, -1.39, 20.06) |
| CIE-LCH | lch(18.55, 20.11, 93.96°) |
| OKLab | oklab(29.74% -0.0051 0.0465) |
| OKLCH | oklch(29.74% 0.047 96.3) |
| XYZ | xyz(2.4409, 2.6414, 0.8331) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 9.71
Espresso
#4B382A
ΔE00 11.90
Dark Brown
#341C02
ΔE00 12.04
Mud Brown
#60460F
ΔE00 12.84
Green Brown
#544E03
ΔE00 13.49
Dark Grey
#363737
ΔE00 14.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#342D0F #0F1634
analogous
#341A0F #342D0F #28340F
triadic
#342D0F #0F342D #2D0F34
tetradic
#342D0F #0F341A #0F1634 #340F28
square
#342D0F #0F341A #0F1634 #340F28
split-complementary
#342D0F #0F2834 #1A0F34
monochromatic
#181507 #181507 #342D0F #63561D #937F2A
Accessibility & contrast
On white
13.74
#342D0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#342D0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #342D0F
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##342D0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##342D0F | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#322C0C
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#392926
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #342d0f; /* rgb */ color: rgb(52, 45, 15); /* oklch */ color: oklch(29.7% 0.047 96.3);
Tailwind
colors: {
custom: {
50: '#6d654e',
500: '#342d0f',
950: '#000000',
},
}SCSS
$custom: #342d0f; $custom-light: #6d654e; $custom-dark: #000000;
JSON
{
"hex": "#342d0f",
"rgb": {
"r": 52,
"g": 45,
"b": 15
},
"hsl": {
"h": 48.649,
"s": 55.224,
"l": 13.137
},
"oklch": {
"l": 0.29735,
"c": 0.04681,
"h": 96.3
},
"luminance": 0.02641
}Semantic roles & 50–950 ramp
primary
#342D0F
secondary
#313C6E
accent
#65DF49
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070501
muted
#7A7A77