#8F8225#8F8225
#8F8225 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.1% C 0.111 H 101.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8F8225 |
|---|---|
| RGB | rgb(143, 130, 37) |
| HSL | hsl(53, 59%, 35%) |
| HSV | hsv(53, 74%, 56%) |
| CMYK | cmyk(0%, 9.1%, 74.1%, 43.9%) |
| CIE-LAB | lab(53.96, -5.94, 49.25) |
| CIE-LCH | lch(53.96, 49.60, 96.87°) |
| OKLab | oklab(60.11% -0.0214 0.109) |
| OKLCH | oklch(60.11% 0.111 101.1) |
| XYZ | xyz(19.6452, 21.9394, 4.9498) |
| Luminance | 0.2194 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.21
Olive
#808000
ΔE00 4.79
Hazel
#8E7618
ΔE00 5.24
Diarrhea
#9F8303
ΔE00 5.50
Puke Brown
#947706
ΔE00 6.12
Yellowish Brown
#9B7A01
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F8225 #25328F
analogous
#8F4D25 #8F8225 #678F25
triadic
#8F8225 #258F82 #82258F
tetradic
#8F8225 #258F4D #25328F #8F2567
square
#8F8225 #258F4D #25328F #8F2567
split-complementary
#8F8225 #25678F #4D258F
monochromatic
#2E2A0C #5E5618 #8F8225 #C0AE32 #D4C55A
Accessibility & contrast
On white
3.90
#8F8225 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#8F8225 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F8225
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F8225 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F8225 | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E15
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#9A7870
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8f8225; /* rgb */ color: rgb(143, 130, 37); /* oklch */ color: oklch(60.1% 0.111 101.1);
Tailwind
colors: {
custom: {
50: '#b3a666',
500: '#8f8225',
950: '#000000',
},
}SCSS
$custom: #8f8225; $custom-light: #b3a666; $custom-dark: #000000;
JSON
{
"hex": "#8f8225",
"rgb": {
"r": 143,
"g": 130,
"b": 37
},
"hsl": {
"h": 52.642,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.60111,
"c": 0.11105,
"h": 101.1
},
"luminance": 0.21938
}Semantic roles & 50–950 ramp
primary
#8F8225
secondary
#5763B9
accent
#59E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A