#302A0F#302A0F
#302A0F is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.5% C 0.043 H 97.0°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #302A0F |
|---|---|
| RGB | rgb(48, 42, 15) |
| HSL | hsl(49, 52%, 12%) |
| HSV | hsv(49, 69%, 19%) |
| CMYK | cmyk(0%, 12.5%, 68.7%, 81.2%) |
| CIE-LAB | lab(17.08, -1.54, 18.19) |
| CIE-LCH | lch(17.08, 18.25, 94.85°) |
| OKLab | oklab(28.46% -0.0052 0.0428) |
| OKLCH | oklch(28.46% 0.043 97) |
| XYZ | xyz(2.1332, 2.3189, 0.7871) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 10.58
Dark Brown
#341C02
ΔE00 11.99
Espresso
#4B382A
ΔE00 12.13
Charcoal (survey)
#343837
ΔE00 13.73
Dark Grey
#363737
ΔE00 13.73
Mud Brown
#60460F
ΔE00 14.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302A0F #0F1530
analogous
#301A0F #302A0F #26300F
triadic
#302A0F #0F302A #2A0F30
tetradic
#302A0F #0F301A #0F1530 #300F26
square
#302A0F #0F301A #0F1530 #300F26
split-complementary
#302A0F #0F2630 #1A0F30
monochromatic
#171407 #171407 #302A0F #5F531E #8D7C2C
Accessibility & contrast
On white
14.35
#302A0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#302A0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302A0F
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302A0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302A0F | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F290C
Deuteranopia (green-blind)
#302B10
Tritanopia (blue-blind)
#342724
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #302a0f; /* rgb */ color: rgb(48, 42, 15); /* oklch */ color: oklch(28.5% 0.043 97.0);
Tailwind
colors: {
custom: {
50: '#69634e',
500: '#302a0f',
950: '#000000',
},
}SCSS
$custom: #302a0f; $custom-light: #69634e; $custom-dark: #000000;
JSON
{
"hex": "#302a0f",
"rgb": {
"r": 48,
"g": 42,
"b": 15
},
"hsl": {
"h": 49.091,
"s": 52.381,
"l": 12.353
},
"oklch": {
"l": 0.28464,
"c": 0.04312,
"h": 97
},
"luminance": 0.02319
}Semantic roles & 50–950 ramp
primary
#302A0F
secondary
#313B6A
accent
#66DC4C
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977