#877825#877825
#877825 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.102 H 98.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #877825 |
|---|---|
| RGB | rgb(135, 120, 37) |
| HSL | hsl(51, 57%, 34%) |
| HSV | hsv(51, 73%, 53%) |
| CMYK | cmyk(0%, 11.1%, 72.6%, 47.1%) |
| CIE-LAB | lab(50.36, -4.07, 45.44) |
| CIE-LCH | lch(50.36, 45.62, 95.11°) |
| OKLab | oklab(57.07% -0.0156 0.1012) |
| OKLCH | oklch(57.07% 0.102 98.8) |
| XYZ | xyz(17.0429, 18.7182, 4.4652) |
| Luminance | 0.1872 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.20
Ugly Brown
#7D7103
ΔE00 3.94
Baby Poop
#937C00
ΔE00 4.74
Poo
#8F7303
ΔE00 4.94
Puke Brown
#947706
ΔE00 5.19
Olive
#808000
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877825 #253487
analogous
#874725 #877825 #658725
triadic
#877825 #258778 #782587
tetradic
#877825 #258747 #253487 #872565
square
#877825 #258747 #253487 #872565
split-complementary
#877825 #256587 #472587
monochromatic
#27230B #574D18 #877825 #B7A332 #D1BE56
Accessibility & contrast
On white
4.43
#877825 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#877825 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877825
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877825 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877825 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847519
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#926F67
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #877825; /* rgb */ color: rgb(135, 120, 37); /* oklch */ color: oklch(57.1% 0.102 98.8);
Tailwind
colors: {
custom: {
50: '#ad9e65',
500: '#877825',
950: '#000000',
},
}SCSS
$custom: #877825; $custom-light: #ad9e65; $custom-dark: #000000;
JSON
{
"hex": "#877825",
"rgb": {
"r": 135,
"g": 120,
"b": 37
},
"hsl": {
"h": 50.816,
"s": 56.977,
"l": 33.725
},
"oklch": {
"l": 0.57066,
"c": 0.10242,
"h": 98.8
},
"luminance": 0.18717
}Semantic roles & 50–950 ramp
primary
#877825
secondary
#5362B5
accent
#5FE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A