#5F5812#5F5812
#5F5812 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.4% C 0.087 H 103.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5812 |
|---|---|
| RGB | rgb(95, 88, 18) |
| HSL | hsl(55, 68%, 22%) |
| HSV | hsv(55, 81%, 37%) |
| CMYK | cmyk(0%, 7.4%, 81.1%, 62.7%) |
| CIE-LAB | lab(36.85, -5.80, 38.71) |
| CIE-LCH | lch(36.85, 39.14, 98.52°) |
| OKLab | oklab(45.36% -0.0202 0.0848) |
| OKLCH | oklch(45.36% 0.087 103.4) |
| XYZ | xyz(8.3186, 9.4564, 1.9592) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Brown
#696112
ΔE00 3.48
Green Brown
#544E03
ΔE00 3.52
Olive Brown
#645403
ΔE00 3.71
Greeny Brown
#696006
ΔE00 3.78
Mud
#735C12
ΔE00 6.35
Mud Green
#606602
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5812 #12195F
analogous
#5F3112 #5F5812 #405F12
triadic
#5F5812 #125F58 #58125F
tetradic
#5F5812 #125F31 #12195F #5F1240
square
#5F5812 #125F31 #12195F #5F1240
split-complementary
#5F5812 #12405F #31125F
monochromatic
#1A1805 #2C2808 #5F5812 #92881C #C6B725
Accessibility & contrast
On white
7.26
#5F5812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#5F5812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F5812
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5812 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615504
Deuteranopia (green-blind)
#635817
Tritanopia (blue-blind)
#67514B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5f5812; /* rgb */ color: rgb(95, 88, 18); /* oklch */ color: oklch(45.4% 0.087 103.4);
Tailwind
colors: {
custom: {
50: '#8f8656',
500: '#5f5812',
950: '#000000',
},
}SCSS
$custom: #5f5812; $custom-light: #8f8656; $custom-dark: #000000;
JSON
{
"hex": "#5f5812",
"rgb": {
"r": 95,
"g": 88,
"b": 18
},
"hsl": {
"h": 54.545,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.45361,
"c": 0.08713,
"h": 103.4
},
"luminance": 0.09456
}Semantic roles & 50–950 ramp
primary
#5F5812
secondary
#363E97
accent
#4DEB3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78