#888C1F#888C1F
#888C1F is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.7% C 0.126 H 111.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #888C1F |
|---|---|
| RGB | rgb(136, 140, 31) |
| HSL | hsl(62, 64%, 34%) |
| HSV | hsv(62, 78%, 55%) |
| CMYK | cmyk(2.9%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(56.18, -14.81, 53.29) |
| CIE-LCH | lch(56.18, 55.31, 105.53°) |
| OKLab | oklab(61.71% -0.0465 0.1167) |
| OKLCH | oklch(61.71% 0.126 111.7) |
| XYZ | xyz(19.7794, 24.0898, 4.9039) |
| Luminance | 0.2409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.19
Olive
#808000
ΔE00 4.51
Baby Poop Green
#8F9805
ΔE00 4.54
Swamp Green
#748500
ΔE00 4.82
Pea Soup
#929901
ΔE00 4.99
Shit Green
#758000
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#888C1F #231F8C
analogous
#8C591F #888C1F #518C1F
triadic
#888C1F #1F888C #8C1F88
tetradic
#888C1F #1F8C59 #231F8C #8C1F51
square
#888C1F #1F8C59 #231F8C #8C1F51
split-complementary
#888C1F #1F518C #591F8C
monochromatic
#272809 #575A14 #888C1F #B9BE2A #D3D84E
Accessibility & contrast
On white
3.61
#888C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#888C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #888C1F
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##888C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##888C1F | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978503
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#928378
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #888c1f; /* rgb */ color: rgb(136, 140, 31); /* oklch */ color: oklch(61.7% 0.126 111.7);
Tailwind
colors: {
custom: {
50: '#aead64',
500: '#888c1f',
950: '#000000',
},
}SCSS
$custom: #888c1f; $custom-light: #aead64; $custom-dark: #000000;
JSON
{
"hex": "#888c1f",
"rgb": {
"r": 136,
"g": 140,
"b": 31
},
"hsl": {
"h": 62.202,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.61714,
"c": 0.12557,
"h": 111.7
},
"luminance": 0.24089
}Semantic roles & 50–950 ramp
primary
#888C1F
secondary
#504CBB
accent
#41E747
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A