#878730#878730
#878730 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.6% C 0.109 H 109.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #878730 |
|---|---|
| RGB | rgb(135, 135, 48) |
| HSL | hsl(60, 48%, 36%) |
| HSV | hsv(60, 64%, 53%) |
| CMYK | cmyk(0%, 0%, 64.4%, 47.1%) |
| CIE-LAB | lab(54.75, -11.65, 45.19) |
| CIE-LCH | lch(54.75, 46.67, 104.46°) |
| OKLab | oklab(60.59% -0.0358 0.1026) |
| OKLCH | oklch(60.59% 0.109 109.2) |
| XYZ | xyz(19.1897, 22.6928, 6.1650) |
| Luminance | 0.2269 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.37
Olive
#808000
ΔE00 4.51
Shit Green
#758000
ΔE00 5.46
Swamp Green
#748500
ΔE00 5.69
Khaki Green
#728639
ΔE00 6.50
Poop Green
#6F7C00
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#878730 #303087
analogous
#875B30 #878730 #5B8730
triadic
#878730 #308787 #873087
tetradic
#878730 #30875B #303087 #87305B
square
#878730 #30875B #303087 #87305B
split-complementary
#878730 #305B87 #5B3087
monochromatic
#2D2D10 #5A5A20 #878730 #B4B440 #C9C968
Accessibility & contrast
On white
3.79
#878730 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#878730 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #878730
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##878730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##878730 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928125
Deuteranopia (green-blind)
#938435
Tritanopia (blue-blind)
#907F75
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #878730; /* rgb */ color: rgb(135, 135, 48); /* oklch */ color: oklch(60.6% 0.109 109.2);
Tailwind
colors: {
custom: {
50: '#aca96d',
500: '#878730',
950: '#000000',
},
}SCSS
$custom: #878730; $custom-light: #aca96d; $custom-dark: #000000;
JSON
{
"hex": "#878730",
"rgb": {
"r": 135,
"g": 135,
"b": 48
},
"hsl": {
"h": 60,
"s": 47.541,
"l": 35.882
},
"oklch": {
"l": 0.60593,
"c": 0.10869,
"h": 109.2
},
"luminance": 0.22692
}Semantic roles & 50–950 ramp
primary
#878730
secondary
#6262B1
accent
#51D751
background
#FAFAF6
surface
#F5F4EC
border
#CFCEC7
text
#100F07
muted
#7F7F7A