#5F5313#5F5313
#5F5313 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.2% C 0.082 H 98.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5313 |
|---|---|
| RGB | rgb(95, 83, 19) |
| HSL | hsl(51, 67%, 22%) |
| HSV | hsv(51, 80%, 37%) |
| CMYK | cmyk(0%, 12.6%, 80%, 62.7%) |
| CIE-LAB | lab(35.33, -2.78, 36.90) |
| CIE-LCH | lch(35.33, 37.00, 94.31°) |
| OKLab | oklab(44.16% -0.0116 0.0811) |
| OKLCH | oklch(44.16% 0.082 98.1) |
| XYZ | xyz(7.9305, 8.6668, 1.8711) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Brown
#645403
ΔE00 2.57
Green Brown
#544E03
ΔE00 3.26
Greenish Brown
#696112
ΔE00 5.32
Greeny Brown
#696006
ΔE00 5.45
Mud
#735C12
ΔE00 5.66
Mud Brown
#60460F
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5313 #131F5F
analogous
#5F2D13 #5F5313 #455F13
triadic
#5F5313 #135F53 #53135F
tetradic
#5F5313 #135F2D #131F5F #5F1345
square
#5F5313 #135F2D #131F5F #5F1345
split-complementary
#5F5313 #13455F #2D135F
monochromatic
#1A1605 #2C2609 #5F5313 #92801D #C5AC27
Accessibility & contrast
On white
7.68
#5F5313 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#5F5313 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F5313
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5313 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5313 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5107
Deuteranopia (green-blind)
#5F5517
Tritanopia (blue-blind)
#674C47
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #5f5313; /* rgb */ color: rgb(95, 83, 19); /* oklch */ color: oklch(44.2% 0.082 98.1);
Tailwind
colors: {
custom: {
50: '#8f8356',
500: '#5f5313',
950: '#000000',
},
}SCSS
$custom: #5f5313; $custom-light: #8f8356; $custom-dark: #000000;
JSON
{
"hex": "#5f5313",
"rgb": {
"r": 95,
"g": 83,
"b": 19
},
"hsl": {
"h": 50.526,
"s": 66.667,
"l": 22.353
},
"oklch": {
"l": 0.44161,
"c": 0.08194,
"h": 98.1
},
"luminance": 0.08666
}Semantic roles & 50–950 ramp
primary
#5F5313
secondary
#374697
accent
#59EA3E
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78