#5F5F10#5F5F10
#5F5F10 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.1% C 0.096 H 109.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5F10 |
|---|---|
| RGB | rgb(95, 95, 16) |
| HSL | hsl(60, 71%, 22%) |
| HSV | hsv(60, 83%, 37%) |
| CMYK | cmyk(0%, 0%, 83.2%, 62.7%) |
| CIE-LAB | lab(38.99, -9.94, 41.37) |
| CIE-LCH | lch(38.99, 42.55, 103.52°) |
| OKLab | oklab(47.07% -0.032 0.09) |
| OKLCH | oklch(47.07% 0.096 109.6) |
| XYZ | xyz(8.9054, 10.6550, 2.0776) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Brown
#696112
ΔE00 3.03
Mud Green
#606602
ΔE00 3.24
Greeny Brown
#696006
ΔE00 3.55
Brown Green
#706C11
ΔE00 5.41
Browny Green
#6F6C0A
ΔE00 5.46
Brownish Green
#6A6E09
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5F10 #10105F
analogous
#5F3810 #5F5F10 #385F10
triadic
#5F5F10 #105F5F #5F105F
tetradic
#5F5F10 #105F38 #10105F #5F1038
square
#5F5F10 #105F38 #10105F #5F1038
split-complementary
#5F5F10 #10385F #38105F
monochromatic
#1A1A04 #2B2B07 #5F5F10 #939319 #C8C822
Accessibility & contrast
On white
6.71
#5F5F10 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#5F5F10 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5F10
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5F10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5F10 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675B00
Deuteranopia (green-blind)
#685D17
Tritanopia (blue-blind)
#665850
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5f5f10; /* rgb */ color: rgb(95, 95, 16); /* oklch */ color: oklch(47.1% 0.096 109.6);
Tailwind
colors: {
custom: {
50: '#8f8c56',
500: '#5f5f10',
950: '#000000',
},
}SCSS
$custom: #5f5f10; $custom-light: #8f8c56; $custom-dark: #000000;
JSON
{
"hex": "#5f5f10",
"rgb": {
"r": 95,
"g": 95,
"b": 16
},
"hsl": {
"h": 60,
"s": 71.171,
"l": 21.765
},
"oklch": {
"l": 0.47067,
"c": 0.09553,
"h": 109.6
},
"luminance": 0.10655
}Semantic roles & 50–950 ramp
primary
#5F5F10
secondary
#333398
accent
#3AEE3A
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78