#5F5712#5F5712
#5F5712 is a mid, moderate yellow. Relative luminance 0.093; OKLCH L 45.1% C 0.086 H 102.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5712 |
|---|---|
| RGB | rgb(95, 87, 18) |
| HSL | hsl(54, 68%, 22%) |
| HSV | hsv(54, 81%, 37%) |
| CMYK | cmyk(0%, 8.4%, 81.1%, 62.7%) |
| CIE-LAB | lab(36.54, -5.21, 38.43) |
| CIE-LCH | lch(36.54, 38.78, 97.72°) |
| OKLab | oklab(45.12% -0.0186 0.0842) |
| OKLCH | oklch(45.12% 0.086 102.4) |
| XYZ | xyz(8.2371, 9.2933, 1.9321) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 3.31
Olive Brown
#645403
ΔE00 3.35
Greenish Brown
#696112
ΔE00 3.77
Greeny Brown
#696006
ΔE00 4.02
Mud
#735C12
ΔE00 6.14
Mud Green
#606602
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5712 #121A5F
analogous
#5F3012 #5F5712 #415F12
triadic
#5F5712 #125F57 #57125F
tetradic
#5F5712 #125F30 #121A5F #5F1241
square
#5F5712 #125F30 #121A5F #5F1241
split-complementary
#5F5712 #12415F #30125F
monochromatic
#1A1805 #2C2808 #5F5712 #92861C #C6B525
Accessibility & contrast
On white
7.35
#5F5712 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#5F5712 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F5712
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5712 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5712 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605404
Deuteranopia (green-blind)
#625717
Tritanopia (blue-blind)
#67504A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5f5712; /* rgb */ color: rgb(95, 87, 18); /* oklch */ color: oklch(45.1% 0.086 102.4);
Tailwind
colors: {
custom: {
50: '#8f8656',
500: '#5f5712',
950: '#000000',
},
}SCSS
$custom: #5f5712; $custom-light: #8f8656; $custom-dark: #000000;
JSON
{
"hex": "#5f5712",
"rgb": {
"r": 95,
"g": 87,
"b": 18
},
"hsl": {
"h": 53.766,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.45118,
"c": 0.08617,
"h": 102.4
},
"luminance": 0.09293
}Semantic roles & 50–950 ramp
primary
#5F5712
secondary
#364097
accent
#4FEB3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78