#867918#867918
#867918 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.111 H 101.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #867918 |
|---|---|
| RGB | rgb(134, 121, 24) |
| HSL | hsl(53, 70%, 31%) |
| HSV | hsv(53, 82%, 53%) |
| CMYK | cmyk(0%, 9.7%, 82.1%, 47.5%) |
| CIE-LAB | lab(50.46, -5.69, 50.35) |
| CIE-LCH | lch(50.46, 50.67, 96.44°) |
| OKLab | oklab(57.1% -0.0215 0.1091) |
| OKLCH | oklch(57.1% 0.111 101.1) |
| XYZ | xyz(16.8346, 18.8098, 3.6079) |
| Luminance | 0.1881 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.31
Hazel
#8E7618
ΔE00 3.67
Baby Poop
#937C00
ΔE00 4.13
Olive
#808000
ΔE00 4.62
Poo
#8F7303
ΔE00 5.11
Puke Brown
#947706
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#867918 #182586
analogous
#864218 #867918 #5C8618
triadic
#867918 #188679 #791886
tetradic
#867918 #188642 #182586 #86185C
square
#867918 #188642 #182586 #86185C
split-complementary
#867918 #185C86 #421886
monochromatic
#1E1B05 #524A0F #867918 #BAA821 #DCC93C
Accessibility & contrast
On white
4.41
#867918 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#867918 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #867918
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##867918 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##867918 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#897A20
Tritanopia (blue-blind)
#917067
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #867918; /* rgb */ color: rgb(134, 121, 24); /* oklch */ color: oklch(57.1% 0.111 101.1);
Tailwind
colors: {
custom: {
50: '#ad9f5f',
500: '#867918',
950: '#000000',
},
}SCSS
$custom: #867918; $custom-light: #ad9f5f; $custom-dark: #000000;
JSON
{
"hex": "#867918",
"rgb": {
"r": 134,
"g": 121,
"b": 24
},
"hsl": {
"h": 52.909,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.57104,
"c": 0.11118,
"h": 101.1
},
"luminance": 0.18809
}Semantic roles & 50–950 ramp
primary
#867918
secondary
#404EBA
accent
#50EC3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79