#8D8625#8D8625
#8D8625 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.115 H 105.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8D8625 |
|---|---|
| RGB | rgb(141, 134, 37) |
| HSL | hsl(56, 58%, 35%) |
| HSV | hsv(56, 74%, 55%) |
| CMYK | cmyk(0%, 5%, 73.8%, 44.7%) |
| CIE-LAB | lab(54.91, -9.04, 50.10) |
| CIE-LCH | lch(54.91, 50.91, 100.23°) |
| OKLab | oklab(60.82% -0.0301 0.1109) |
| OKLCH | oklch(60.82% 0.115 105.2) |
| XYZ | xyz(19.8443, 22.8472, 5.1146) |
| Luminance | 0.2285 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.94
Baby Poop
#937C00
ΔE00 6.03
Shit Green
#758000
ΔE00 6.31
Drab
#828344
ΔE00 6.37
Diarrhea
#9F8303
ΔE00 6.92
Swamp Green
#748500
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D8625 #252C8D
analogous
#8D5225 #8D8625 #608D25
triadic
#8D8625 #258D86 #86258D
tetradic
#8D8625 #258D52 #252C8D #8D2560
square
#8D8625 #258D52 #252C8D #8D2560
split-complementary
#8D8625 #25608D #52258D
monochromatic
#2C2A0C #5D5818 #8D8625 #BDB432 #D3CB59
Accessibility & contrast
On white
3.77
#8D8625 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#8D8625 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D8625
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D8625 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D8625 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#95852C
Tritanopia (blue-blind)
#987D73
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8d8625; /* rgb */ color: rgb(141, 134, 37); /* oklch */ color: oklch(60.8% 0.115 105.2);
Tailwind
colors: {
custom: {
50: '#b2a867',
500: '#8d8625',
950: '#000000',
},
}SCSS
$custom: #8d8625; $custom-light: #b2a867; $custom-dark: #000000;
JSON
{
"hex": "#8d8625",
"rgb": {
"r": 141,
"g": 134,
"b": 37
},
"hsl": {
"h": 55.962,
"s": 58.427,
"l": 34.902
},
"oklch": {
"l": 0.60823,
"c": 0.11486,
"h": 105.2
},
"luminance": 0.22846
}Semantic roles & 50–950 ramp
primary
#8D8625
secondary
#565CB8
accent
#51E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A