#302B0F#302B0F
#302B0F is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.044 H 99.3°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).
Color values
| HEX | #302B0F |
|---|---|
| RGB | rgb(48, 43, 15) |
| HSL | hsl(51, 52%, 12%) |
| HSV | hsv(51, 69%, 19%) |
| CMYK | cmyk(0%, 10.4%, 68.7%, 81.2%) |
| CIE-LAB | lab(17.42, -2.21, 18.60) |
| CIE-LCH | lch(17.42, 18.73, 96.79°) |
| OKLab | oklab(28.73% -0.0072 0.0436) |
| OKLCH | oklch(28.73% 0.044 99.3) |
| XYZ | xyz(2.1691, 2.3907, 0.7990) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 9.92
Espresso
#4B382A
ΔE00 12.71
Dark Brown
#341C02
ΔE00 12.76
Charcoal (survey)
#343837
ΔE00 13.79
Dark Grey
#363737
ΔE00 13.90
Mud Brown
#60460F
ΔE00 14.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302B0F #0F1430
analogous
#301B0F #302B0F #25300F
triadic
#302B0F #0F302B #2B0F30
tetradic
#302B0F #0F301B #0F1430 #300F25
square
#302B0F #0F301B #0F1430 #300F25
split-complementary
#302B0F #0F2530 #1B0F30
monochromatic
#171507 #171507 #302B0F #5F551E #8D7F2C
Accessibility & contrast
On white
14.21
#302B0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#302B0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302B0F
14.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302B0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302B0F | 1.00 | 14.21 | 1.48 | 14.21 |
| #FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2A0C
Deuteranopia (green-blind)
#312C10
Tritanopia (blue-blind)
#342825
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #302b0f; /* rgb */ color: rgb(48, 43, 15); /* oklch */ color: oklch(28.7% 0.044 99.3);
Tailwind
colors: {
custom: {
50: '#69644e',
500: '#302b0f',
950: '#000000',
},
}SCSS
$custom: #302b0f; $custom-light: #69644e; $custom-dark: #000000;
JSON
{
"hex": "#302b0f",
"rgb": {
"r": 48,
"g": 43,
"b": 15
},
"hsl": {
"h": 50.909,
"s": 52.381,
"l": 12.353
},
"oklch": {
"l": 0.28732,
"c": 0.04421,
"h": 99.3
},
"luminance": 0.02391
}Semantic roles & 50–950 ramp
primary
#302B0F
secondary
#313A6A
accent
#62DC4C
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977