#5F5612#5F5612
#5F5612 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.9% C 0.085 H 101.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5612 |
|---|---|
| RGB | rgb(95, 86, 18) |
| HSL | hsl(53, 68%, 22%) |
| HSV | hsv(53, 81%, 37%) |
| CMYK | cmyk(0%, 9.5%, 81.1%, 62.7%) |
| CIE-LAB | lab(36.24, -4.62, 38.14) |
| CIE-LCH | lch(36.24, 38.42, 96.91°) |
| OKLab | oklab(44.88% -0.0169 0.0836) |
| OKLCH | oklch(44.88% 0.085 101.4) |
| XYZ | xyz(8.1567, 9.1325, 1.9053) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Brown
#645403
ΔE00 3.04
Green Brown
#544E03
ΔE00 3.16
Greenish Brown
#696112
ΔE00 4.10
Greeny Brown
#696006
ΔE00 4.31
Mud
#735C12
ΔE00 5.96
Mud Green
#606602
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5612 #121B5F
analogous
#5F3012 #5F5612 #425F12
triadic
#5F5612 #125F56 #56125F
tetradic
#5F5612 #125F30 #121B5F #5F1242
square
#5F5612 #125F30 #121B5F #5F1242
split-complementary
#5F5612 #12425F #30125F
monochromatic
#1A1705 #2C2708 #5F5612 #92851C #C6B325
Accessibility & contrast
On white
7.43
#5F5612 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#5F5612 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F5612
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5612 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5612 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5305
Deuteranopia (green-blind)
#615717
Tritanopia (blue-blind)
#674F49
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #5f5612; /* rgb */ color: rgb(95, 86, 18); /* oklch */ color: oklch(44.9% 0.085 101.4);
Tailwind
colors: {
custom: {
50: '#8f8556',
500: '#5f5612',
950: '#000000',
},
}SCSS
$custom: #5f5612; $custom-light: #8f8556; $custom-dark: #000000;
JSON
{
"hex": "#5f5612",
"rgb": {
"r": 95,
"g": 86,
"b": 18
},
"hsl": {
"h": 52.987,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.44876,
"c": 0.08524,
"h": 101.4
},
"luminance": 0.09132
}Semantic roles & 50–950 ramp
primary
#5F5612
secondary
#364197
accent
#51EB3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78