#2D2F04#2D2F04
#2D2F04 is a dark, moderate yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.061 H 112.3°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2F04 |
|---|---|
| RGB | rgb(45, 47, 4) |
| HSL | hsl(63, 84%, 10%) |
| HSV | hsv(63, 91%, 18%) |
| CMYK | cmyk(4.3%, 0%, 91.5%, 81.6%) |
| CIE-LAB | lab(18.36, -7.36, 24.44) |
| CIE-LCH | lch(18.36, 25.52, 106.75°) |
| OKLab | oklab(29.37% -0.0231 0.0564) |
| OKLCH | oklch(29.37% 0.061 112.3) |
| XYZ | xyz(2.1207, 2.5997, 0.5049) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 5.79
Dark Olive Green
#3C4D03
ΔE00 11.01
Very Dark Green
#062E03
ΔE00 11.46
Dark Green
#033500
ΔE00 12.05
Green Brown
#544E03
ΔE00 12.45
Dark Forest Green
#002D04
ΔE00 12.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2F04 #06042F
analogous
#2F1C04 #2D2F04 #172F04
triadic
#2D2F04 #042D2F #2F042D
tetradic
#2D2F04 #042F1C #06042F #2F0417
square
#2D2F04 #042F1C #06042F #2F0417
split-complementary
#2D2F04 #04172F #1C042F
monochromatic
#1B1C02 #1B1C02 #2D2F04 #636709 #99A00E
Accessibility & contrast
On white
13.82
#2D2F04 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#2D2F04 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2F04
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2F04 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2F04 | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#342D07
Tritanopia (blue-blind)
#312B27
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #2d2f04; /* rgb */ color: rgb(45, 47, 4); /* oklch */ color: oklch(29.4% 0.061 112.3);
Tailwind
colors: {
custom: {
50: '#676749',
500: '#2d2f04',
950: '#000000',
},
}SCSS
$custom: #2d2f04; $custom-light: #676749; $custom-dark: #000000;
JSON
{
"hex": "#2d2f04",
"rgb": {
"r": 45,
"g": 47,
"b": 4
},
"hsl": {
"h": 62.791,
"s": 84.314,
"l": 10
},
"oklch": {
"l": 0.29372,
"c": 0.06091,
"h": 112.3
},
"luminance": 0.026
}Semantic roles & 50–950 ramp
primary
#2D2F04
secondary
#211D72
accent
#2DFB37
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77