#887F23#887F23
#887F23 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.110 H 103.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #887F23 |
|---|---|
| RGB | rgb(136, 127, 35) |
| HSL | hsl(55, 59%, 34%) |
| HSV | hsv(55, 74%, 53%) |
| CMYK | cmyk(0%, 6.6%, 74.3%, 46.7%) |
| CIE-LAB | lab(52.44, -7.61, 48.32) |
| CIE-LCH | lch(52.44, 48.92, 98.94°) |
| OKLab | oklab(58.74% -0.0259 0.1069) |
| OKLCH | oklch(58.74% 0.11 103.6) |
| XYZ | xyz(18.0469, 20.5351, 4.6028) |
| Luminance | 0.2053 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.59
Baby Poop
#937C00
ΔE00 5.10
Hazel
#8E7618
ΔE00 5.47
Ugly Brown
#7D7103
ΔE00 5.54
Shit Green
#758000
ΔE00 6.07
Drab
#828344
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#887F23 #232C88
analogous
#884C23 #887F23 #5E8823
triadic
#887F23 #23887F #7F2388
tetradic
#887F23 #23884C #232C88 #88235E
square
#887F23 #23884C #232C88 #88235E
split-complementary
#887F23 #235E88 #4C2388
monochromatic
#27240A #575216 #887F23 #B9AC30 #D3C753
Accessibility & contrast
On white
4.11
#887F23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#887F23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #887F23
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##887F23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##887F23 | 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)
#8B7B13
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#93766D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #887f23; /* rgb */ color: rgb(136, 127, 35); /* oklch */ color: oklch(58.7% 0.110 103.6);
Tailwind
colors: {
custom: {
50: '#aea365',
500: '#887f23',
950: '#000000',
},
}SCSS
$custom: #887f23; $custom-light: #aea365; $custom-dark: #000000;
JSON
{
"hex": "#887f23",
"rgb": {
"r": 136,
"g": 127,
"b": 35
},
"hsl": {
"h": 54.653,
"s": 59.064,
"l": 33.529
},
"oklch": {
"l": 0.58737,
"c": 0.11,
"h": 103.6
},
"luminance": 0.20534
}Semantic roles & 50–950 ramp
primary
#887F23
secondary
#5059B7
accent
#54E246
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A