#887F25#887F25
#887F25 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.109 H 103.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #887F25 |
|---|---|
| RGB | rgb(136, 127, 37) |
| HSL | hsl(55, 57%, 34%) |
| HSV | hsv(55, 73%, 53%) |
| CMYK | cmyk(0%, 6.6%, 72.8%, 46.7%) |
| CIE-LAB | lab(52.45, -7.50, 47.54) |
| CIE-LCH | lch(52.45, 48.13, 98.97°) |
| OKLab | oklab(58.75% -0.0254 0.1056) |
| OKLCH | oklch(58.75% 0.109 103.5) |
| XYZ | xyz(18.0774, 20.5473, 4.7637) |
| Luminance | 0.2055 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.76
Baby Poop
#937C00
ΔE00 5.22
Hazel
#8E7618
ΔE00 5.49
Ugly Brown
#7D7103
ΔE00 5.62
Drab
#828344
ΔE00 5.90
Shit Green
#758000
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#887F25 #252E88
analogous
#884E25 #887F25 #608825
triadic
#887F25 #25887F #7F2588
tetradic
#887F25 #25884E #252E88 #882560
square
#887F25 #25884E #252E88 #882560
split-complementary
#887F25 #256088 #4E2588
monochromatic
#28250B #585218 #887F25 #B8AC32 #D1C656
Accessibility & contrast
On white
4.11
#887F25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#887F25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #887F25
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##887F25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##887F25 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B17
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#92766D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #887f25; /* rgb */ color: rgb(136, 127, 37); /* oklch */ color: oklch(58.8% 0.109 103.5);
Tailwind
colors: {
custom: {
50: '#aea366',
500: '#887f25',
950: '#000000',
},
}SCSS
$custom: #887f25; $custom-light: #aea366; $custom-dark: #000000;
JSON
{
"hex": "#887f25",
"rgb": {
"r": 136,
"g": 127,
"b": 37
},
"hsl": {
"h": 54.545,
"s": 57.225,
"l": 33.922
},
"oklch": {
"l": 0.58752,
"c": 0.10865,
"h": 103.5
},
"luminance": 0.20547
}Semantic roles & 50–950 ramp
primary
#887F25
secondary
#535CB6
accent
#55E047
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A