#857F18#857F18
#857F18 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.117 H 105.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #857F18 |
|---|---|
| RGB | rgb(133, 127, 24) |
| HSL | hsl(57, 69%, 31%) |
| HSV | hsv(57, 82%, 52%) |
| CMYK | cmyk(0%, 4.5%, 82%, 47.8%) |
| CIE-LAB | lab(52.10, -9.47, 51.76) |
| CIE-LCH | lch(52.10, 52.62, 100.37°) |
| OKLab | oklab(58.38% -0.032 0.1122) |
| OKLCH | oklch(58.38% 0.117 105.9) |
| XYZ | xyz(17.4279, 20.2319, 3.8511) |
| Luminance | 0.2023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.18
Shit Green
#758000
ΔE00 4.88
Ugly Brown
#7D7103
ΔE00 5.39
Baby Poop
#937C00
ΔE00 5.55
Poop Green
#6F7C00
ΔE00 5.93
Hazel
#8E7618
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#857F18 #181E85
analogous
#854818 #857F18 #548518
triadic
#857F18 #18857F #7F1885
tetradic
#857F18 #188548 #181E85 #851854
square
#857F18 #188548 #181E85 #851854
split-complementary
#857F18 #185485 #481885
monochromatic
#1D1C05 #514D0F #857F18 #B9B121 #DCD33C
Accessibility & contrast
On white
4.16
#857F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#857F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #857F18
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##857F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##857F18 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#8F766C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #857f18; /* rgb */ color: rgb(133, 127, 24); /* oklch */ color: oklch(58.4% 0.117 105.9);
Tailwind
colors: {
custom: {
50: '#aca360',
500: '#857f18',
950: '#000000',
},
}SCSS
$custom: #857f18; $custom-light: #aca360; $custom-dark: #000000;
JSON
{
"hex": "#857f18",
"rgb": {
"r": 133,
"g": 127,
"b": 24
},
"hsl": {
"h": 56.697,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.58382,
"c": 0.11664,
"h": 105.9
},
"luminance": 0.20231
}Semantic roles & 50–950 ramp
primary
#857F18
secondary
#4047B9
accent
#45EC3C
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79