#877F25#877F25
#877F25 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.109 H 104.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #877F25 |
|---|---|
| RGB | rgb(135, 127, 37) |
| HSL | hsl(55, 57%, 34%) |
| HSV | hsv(55, 73%, 53%) |
| CMYK | cmyk(0%, 5.9%, 72.6%, 47.1%) |
| CIE-LAB | lab(52.36, -7.96, 47.42) |
| CIE-LCH | lch(52.36, 48.09, 99.53°) |
| OKLab | oklab(58.66% -0.0266 0.1054) |
| OKLCH | oklch(58.66% 0.109 104.2) |
| XYZ | xyz(17.9157, 20.4639, 4.7561) |
| Luminance | 0.2046 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.57
Baby Poop
#937C00
ΔE00 5.51
Ugly Brown
#7D7103
ΔE00 5.62
Drab
#828344
ΔE00 5.73
Hazel
#8E7618
ΔE00 5.75
Shit Green
#758000
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877F25 #252D87
analogous
#874E25 #877F25 #5E8725
triadic
#877F25 #25877F #7F2587
tetradic
#877F25 #25874E #252D87 #87255E
square
#877F25 #25874E #252D87 #87255E
split-complementary
#877F25 #255E87 #4E2587
monochromatic
#27250B #575218 #877F25 #B7AC32 #D1C756
Accessibility & contrast
On white
4.12
#877F25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#877F25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877F25
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877F25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877F25 | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B17
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#91766D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #877f25; /* rgb */ color: rgb(135, 127, 37); /* oklch */ color: oklch(58.7% 0.109 104.2);
Tailwind
colors: {
custom: {
50: '#ada366',
500: '#877f25',
950: '#000000',
},
}SCSS
$custom: #877f25; $custom-light: #ada366; $custom-dark: #000000;
JSON
{
"hex": "#877f25",
"rgb": {
"r": 135,
"g": 127,
"b": 37
},
"hsl": {
"h": 55.102,
"s": 56.977,
"l": 33.725
},
"oklch": {
"l": 0.58656,
"c": 0.10874,
"h": 104.2
},
"luminance": 0.20463
}Semantic roles & 50–950 ramp
primary
#877F25
secondary
#535BB5
accent
#54E048
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A