#332C02#332C02
#332C02 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.059 H 99.4°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).
Color values
| HEX | #332C02 |
|---|---|
| RGB | rgb(51, 44, 2) |
| HSL | hsl(51, 92%, 10%) |
| HSV | hsv(51, 96%, 20%) |
| CMYK | cmyk(0%, 13.7%, 96.1%, 80%) |
| CIE-LAB | lab(17.96, -2.25, 24.94) |
| CIE-LCH | lch(17.96, 25.04, 95.16°) |
| OKLab | oklab(29.2% -0.0096 0.0578) |
| OKLCH | oklch(29.2% 0.059 99.4) |
| XYZ | xyz(2.2770, 2.5097, 0.4219) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 8.38
Green Brown
#544E03
ΔE00 12.41
Mud Brown
#60460F
ΔE00 12.43
Dark Brown
#341C02
ΔE00 12.83
Dark Olive Green
#3C4D03
ΔE00 13.60
Espresso
#4B382A
ΔE00 13.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#332C02 #020933
analogous
#331402 #332C02 #213302
triadic
#332C02 #02332C #2C0233
tetradic
#332C02 #023314 #020933 #330221
square
#332C02 #023314 #020933 #330221
split-complementary
#332C02 #022133 #140233
monochromatic
#1D1901 #1D1901 #332C02 #6E5F04 #A99207
Accessibility & contrast
On white
13.98
#332C02 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#332C02 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #332C02
13.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##332C02 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##332C02 | 1.00 | 13.98 | 1.50 | 13.98 |
| #FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#332D04
Tritanopia (blue-blind)
#382824
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #332c02; /* rgb */ color: rgb(51, 44, 2); /* oklch */ color: oklch(29.2% 0.059 99.4);
Tailwind
colors: {
custom: {
50: '#6d6448',
500: '#332c02',
950: '#000000',
},
}SCSS
$custom: #332c02; $custom-light: #6d6448; $custom-dark: #000000;
JSON
{
"hex": "#332c02",
"rgb": {
"r": 51,
"g": 44,
"b": 2
},
"hsl": {
"h": 51.429,
"s": 92.453,
"l": 10.392
},
"oklch": {
"l": 0.29202,
"c": 0.05855,
"h": 99.4
},
"luminance": 0.0251
}Semantic roles & 50–950 ramp
primary
#332C02
secondary
#1A2777
accent
#47FF29
background
#F6F6F4
surface
#ECEBE6
border
#C7C6C2
text
#070500
muted
#7A7A77