#8F8425#8F8425
#8F8425 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.6% C 0.113 H 102.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8425 |
|---|---|
| RGB | rgb(143, 132, 37) |
| HSL | hsl(54, 59%, 35%) |
| HSV | hsv(54, 74%, 56%) |
| CMYK | cmyk(0%, 7.7%, 74.1%, 43.9%) |
| CIE-LAB | lab(54.53, -7.04, 49.79) |
| CIE-LCH | lch(54.53, 50.29, 98.04°) |
| OKLab | oklab(60.56% -0.0245 0.1101) |
| OKLCH | oklch(60.56% 0.113 102.5) |
| XYZ | xyz(19.9138, 22.4766, 5.0394) |
| Luminance | 0.2248 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.48
Baby Poop
#937C00
ΔE00 4.86
Diarrhea
#9F8303
ΔE00 5.86
Hazel
#8E7618
ΔE00 6.11
Drab
#828344
ΔE00 6.76
Puke Brown
#947706
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8425 #25308F
analogous
#8F4F25 #8F8425 #658F25
triadic
#8F8425 #258F84 #84258F
tetradic
#8F8425 #258F4F #25308F #8F2565
square
#8F8425 #258F4F #25308F #8F2565
split-complementary
#8F8425 #25658F #4F258F
monochromatic
#2E2A0C #5E5718 #8F8425 #C0B132 #D4C85A
Accessibility & contrast
On white
3.82
#8F8425 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#8F8425 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8425
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8425 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8425 | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908015
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#9A7A71
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8f8425; /* rgb */ color: rgb(143, 132, 37); /* oklch */ color: oklch(60.6% 0.113 102.5);
Tailwind
colors: {
custom: {
50: '#b3a767',
500: '#8f8425',
950: '#000000',
},
}SCSS
$custom: #8f8425; $custom-light: #b3a767; $custom-dark: #000000;
JSON
{
"hex": "#8f8425",
"rgb": {
"r": 143,
"g": 132,
"b": 37
},
"hsl": {
"h": 53.774,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.60561,
"c": 0.11282,
"h": 102.5
},
"luminance": 0.22476
}Semantic roles & 50–950 ramp
primary
#8F8425
secondary
#5761B9
accent
#56E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A