#342F09#342F09
#342F09 is a dark, muted yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.055 H 101.7°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #342F09 |
|---|---|
| RGB | rgb(52, 47, 9) |
| HSL | hsl(53, 70%, 12%) |
| HSV | hsv(53, 83%, 20%) |
| CMYK | cmyk(0%, 9.6%, 82.7%, 79.6%) |
| CIE-LAB | lab(19.15, -3.18, 23.51) |
| CIE-LCH | lch(19.15, 23.73, 97.70°) |
| OKLab | oklab(30.2% -0.0111 0.0536) |
| OKLCH | oklch(30.2% 0.055 101.7) |
| XYZ | xyz(2.4821, 2.7829, 0.6648) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 7.56
Green Brown
#544E03
ΔE00 11.97
Mud Brown
#60460F
ΔE00 12.55
Dark Olive Green
#3C4D03
ΔE00 12.70
Dark Brown
#341C02
ΔE00 13.84
Espresso
#4B382A
ΔE00 13.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#342F09 #090E34
analogous
#341A09 #342F09 #243409
triadic
#342F09 #09342F #2F0934
tetradic
#342F09 #09341A #090E34 #340924
square
#342F09 #09341A #090E34 #340924
split-complementary
#342F09 #092434 #1A0934
monochromatic
#1A1805 #1A1805 #342F09 #685E12 #9C8D1B
Accessibility & contrast
On white
13.49
#342F09 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#342F09 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #342F09
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##342F09 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##342F09 | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#342D05
Deuteranopia (green-blind)
#362F0B
Tritanopia (blue-blind)
#392B27
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #342f09; /* rgb */ color: rgb(52, 47, 9); /* oklch */ color: oklch(30.2% 0.055 101.7);
Tailwind
colors: {
custom: {
50: '#6d674b',
500: '#342f09',
950: '#000000',
},
}SCSS
$custom: #342f09; $custom-light: #6d674b; $custom-dark: #000000;
JSON
{
"hex": "#342f09",
"rgb": {
"r": 52,
"g": 47,
"b": 9
},
"hsl": {
"h": 53.023,
"s": 70.492,
"l": 11.961
},
"oklch": {
"l": 0.30196,
"c": 0.05476,
"h": 101.7
},
"luminance": 0.02783
}Semantic roles & 50–950 ramp
primary
#342F09
secondary
#272F72
accent
#4FED3B
background
#F6F6F4
surface
#ECEBE7
border
#C7C6C3
text
#070601
muted
#7A7A77