#5E5D18#5E5D18
#5E5D18 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.5% C 0.088 H 108.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5D18 |
|---|---|
| RGB | rgb(94, 93, 24) |
| HSL | hsl(59, 59%, 23%) |
| HSV | hsv(59, 74%, 37%) |
| CMYK | cmyk(0%, 1.1%, 74.5%, 63.1%) |
| CIE-LAB | lab(38.33, -8.89, 37.68) |
| CIE-LCH | lch(38.33, 38.72, 103.27°) |
| OKLab | oklab(46.53% -0.0282 0.0839) |
| OKLCH | oklch(46.53% 0.088 108.6) |
| XYZ | xyz(8.6956, 10.2746, 2.3891) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Brown
#696112
ΔE00 3.49
Greeny Brown
#696006
ΔE00 4.21
Mud Green
#606602
ΔE00 4.57
Green Brown
#544E03
ΔE00 5.31
Army Green
#4B5D16
ΔE00 6.15
Olive Brown
#645403
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5D18 #18195E
analogous
#5E3A18 #5E5D18 #3C5E18
triadic
#5E5D18 #185E5D #5D185E
tetradic
#5E5D18 #185E3A #18195E #5E183C
square
#5E5D18 #185E3A #18195E #5E183C
split-complementary
#5E5D18 #183C5E #3A185E
monochromatic
#181806 #2D2D0C #5E5D18 #8F8D24 #C0BD31
Accessibility & contrast
On white
6.87
#5E5D18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#5E5D18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5D18
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5D18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5D18 | 1.00 | 6.87 | 3.05 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#65590D
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#65574F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #5e5d18; /* rgb */ color: rgb(94, 93, 24); /* oklch */ color: oklch(46.5% 0.088 108.6);
Tailwind
colors: {
custom: {
50: '#8e8a5a',
500: '#5e5d18',
950: '#000000',
},
}SCSS
$custom: #5e5d18; $custom-light: #8e8a5a; $custom-dark: #000000;
JSON
{
"hex": "#5e5d18",
"rgb": {
"r": 94,
"g": 93,
"b": 24
},
"hsl": {
"h": 59.143,
"s": 59.322,
"l": 23.137
},
"oklch": {
"l": 0.46531,
"c": 0.08846,
"h": 108.6
},
"luminance": 0.10274
}Semantic roles & 50–950 ramp
primary
#5E5D18
secondary
#3D3F94
accent
#48E345
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0B04
muted
#7D7C79