#5F5F15#5F5F15
#5F5F15 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.1% C 0.093 H 109.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5F15 |
|---|---|
| RGB | rgb(95, 95, 21) |
| HSL | hsl(60, 64%, 23%) |
| HSV | hsv(60, 78%, 37%) |
| CMYK | cmyk(0%, 0%, 77.9%, 62.7%) |
| CIE-LAB | lab(39.02, -9.71, 39.60) |
| CIE-LCH | lch(39.02, 40.77, 103.78°) |
| OKLab | oklab(47.1% -0.0309 0.0873) |
| OKLCH | oklch(47.1% 0.093 109.5) |
| XYZ | xyz(8.9472, 10.6717, 2.2979) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Brown
#696112
ΔE00 3.19
Mud Green
#606602
ΔE00 3.60
Greeny Brown
#696006
ΔE00 3.86
Brown Green
#706C11
ΔE00 5.63
Browny Green
#6F6C0A
ΔE00 5.73
Brownish Green
#6A6E09
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5F15 #15155F
analogous
#5F3A15 #5F5F15 #3A5F15
triadic
#5F5F15 #155F5F #5F155F
tetradic
#5F5F15 #155F3A #15155F #5F153A
square
#5F5F15 #155F3A #15155F #5F153A
split-complementary
#5F5F15 #153A5F #3A155F
monochromatic
#191906 #2D2D0A #5F5F15 #919120 #C3C32B
Accessibility & contrast
On white
6.70
#5F5F15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#5F5F15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5F15
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5F15 | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675B06
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#665851
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5f5f15; /* rgb */ color: rgb(95, 95, 21); /* oklch */ color: oklch(47.1% 0.093 109.5);
Tailwind
colors: {
custom: {
50: '#8f8c59',
500: '#5f5f15',
950: '#000000',
},
}SCSS
$custom: #5f5f15; $custom-light: #8f8c59; $custom-dark: #000000;
JSON
{
"hex": "#5f5f15",
"rgb": {
"r": 95,
"g": 95,
"b": 21
},
"hsl": {
"h": 60,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.47099,
"c": 0.09256,
"h": 109.5
},
"luminance": 0.10671
}Semantic roles & 50–950 ramp
primary
#5F5F15
secondary
#3A3A96
accent
#41E741
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79