#8E8231#8E8231
#8E8231 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.1% C 0.102 H 100.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8231 |
|---|---|
| RGB | rgb(142, 130, 49) |
| HSL | hsl(52, 49%, 37%) |
| HSV | hsv(52, 65%, 56%) |
| CMYK | cmyk(0%, 8.5%, 65.5%, 44.3%) |
| CIE-LAB | lab(53.96, -5.69, 44.09) |
| CIE-LCH | lch(53.96, 44.45, 97.36°) |
| OKLab | oklab(60.12% -0.0192 0.1002) |
| OKLCH | oklch(60.12% 0.102 100.9) |
| XYZ | xyz(19.6931, 21.9386, 6.1024) |
| Luminance | 0.2194 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 5.44
Drab
#828344
ΔE00 5.54
Olive
#808000
ΔE00 5.58
Hazel
#8E7618
ΔE00 5.67
Dark Khaki
#9B8F55
ΔE00 6.51
Diarrhea
#9F8303
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8231 #313D8E
analogous
#8E5331 #8E8231 #6C8E31
triadic
#8E8231 #318E82 #82318E
tetradic
#8E8231 #318E53 #313D8E #8E316C
square
#8E8231 #318E53 #313D8E #8E316C
split-complementary
#8E8231 #316C8E #53318E
monochromatic
#332F12 #615821 #8E8231 #BBAC41 #CDC06D
Accessibility & contrast
On white
3.90
#8E8231 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#8E8231 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8231
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8231 | 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)
#8E7E27
Deuteranopia (green-blind)
#918335
Tritanopia (blue-blind)
#997971
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8e8231; /* rgb */ color: rgb(142, 130, 49); /* oklch */ color: oklch(60.1% 0.102 100.9);
Tailwind
colors: {
custom: {
50: '#b2a66d',
500: '#8e8231',
950: '#000000',
},
}SCSS
$custom: #8e8231; $custom-light: #b2a66d; $custom-dark: #000000;
JSON
{
"hex": "#8e8231",
"rgb": {
"r": 142,
"g": 130,
"b": 49
},
"hsl": {
"h": 52.258,
"s": 48.691,
"l": 37.451
},
"oklch": {
"l": 0.60117,
"c": 0.10207,
"h": 100.9
},
"luminance": 0.21938
}Semantic roles & 50–950 ramp
primary
#8E8231
secondary
#6771B4
accent
#61D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A