#302D0C#302D0C
#302D0C is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.050 H 104.1°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).
Color values
| HEX | #302D0C |
|---|---|
| RGB | rgb(48, 45, 12) |
| HSL | hsl(55, 60%, 12%) |
| HSV | hsv(55, 75%, 19%) |
| CMYK | cmyk(0%, 6.2%, 75%, 81.2%) |
| CIE-LAB | lab(18.06, -3.81, 20.85) |
| CIE-LCH | lch(18.06, 21.20, 100.36°) |
| OKLab | oklab(29.23% -0.0122 0.0484) |
| OKLCH | oklch(29.23% 0.05 104.1) |
| XYZ | xyz(2.2238, 2.5318, 0.7193) |
| Luminance | 0.0253 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 8.18
Dark Olive Green
#3C4D03
ΔE00 13.26
Green Brown
#544E03
ΔE00 13.29
Very Dark Green
#062E03
ΔE00 13.87
Mud Brown
#60460F
ΔE00 14.06
Espresso
#4B382A
ΔE00 14.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302D0C #0C0F30
analogous
#301B0C #302D0C #21300C
triadic
#302D0C #0C302D #2D0C30
tetradic
#302D0C #0C301B #0C0F30 #300C21
square
#302D0C #0C301B #0C0F30 #300C21
split-complementary
#302D0C #0C2130 #1B0C30
monochromatic
#181706 #181706 #302D0C #615B18 #928924
Accessibility & contrast
On white
13.94
#302D0C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#302D0C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302D0C
13.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302D0C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302D0C | 1.00 | 13.94 | 1.51 | 13.94 |
| #FFFFFF | 13.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#322B08
Deuteranopia (green-blind)
#332D0E
Tritanopia (blue-blind)
#342926
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #302d0c; /* rgb */ color: rgb(48, 45, 12); /* oklch */ color: oklch(29.2% 0.050 104.1);
Tailwind
colors: {
custom: {
50: '#6a654d',
500: '#302d0c',
950: '#000000',
},
}SCSS
$custom: #302d0c; $custom-light: #6a654d; $custom-dark: #000000;
JSON
{
"hex": "#302d0c",
"rgb": {
"r": 48,
"g": 45,
"b": 12
},
"hsl": {
"h": 55,
"s": 60,
"l": 11.765
},
"oklch": {
"l": 0.29232,
"c": 0.04987,
"h": 104.1
},
"luminance": 0.02532
}Semantic roles & 50–950 ramp
primary
#302D0C
secondary
#2C316C
accent
#52E345
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77