#9E9028#9E9028
#9E9028 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.7% C 0.121 H 101.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9028 |
|---|---|
| RGB | rgb(158, 144, 40) |
| HSL | hsl(53, 60%, 39%) |
| HSV | hsv(53, 75%, 62%) |
| CMYK | cmyk(0%, 8.9%, 74.7%, 38%) |
| CIE-LAB | lab(59.32, -6.61, 53.74) |
| CIE-LCH | lch(59.32, 54.14, 97.01°) |
| OKLab | oklab(64.7% -0.0238 0.1185) |
| OKLCH | oklch(64.7% 0.121 101.4) |
| XYZ | xyz(24.4579, 27.3699, 6.0017) |
| Luminance | 0.2737 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.62
Baby Shit Brown
#AD900D
ΔE00 4.99
Dark Mustard
#A88905
ΔE00 5.59
Brown Yellow
#B29705
ΔE00 5.64
Diarrhea
#9F8303
ΔE00 5.81
Pea Soup
#929901
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9028 #28369E
analogous
#9E5528 #9E9028 #719E28
triadic
#9E9028 #289E90 #90289E
tetradic
#9E9028 #289E55 #28369E #9E2871
square
#9E9028 #289E55 #28369E #9E2871
split-complementary
#9E9028 #28719E #55289E
monochromatic
#3C370F #6D631C #9E9028 #CCBB37 #D9CB68
Accessibility & contrast
On white
3.24
#9E9028 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#9E9028 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E9028
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9028 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9028 | 1.00 | 3.24 | 6.47 | 6.47 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8C15
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#AA857C
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #9e9028; /* rgb */ color: rgb(158, 144, 40); /* oklch */ color: oklch(64.7% 0.121 101.4);
Tailwind
colors: {
custom: {
50: '#beb06a',
500: '#9e9028',
950: '#000000',
},
}SCSS
$custom: #9e9028; $custom-light: #beb06a; $custom-dark: #000000;
JSON
{
"hex": "#9e9028",
"rgb": {
"r": 158,
"g": 144,
"b": 40
},
"hsl": {
"h": 52.881,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.64702,
"c": 0.12085,
"h": 101.4
},
"luminance": 0.27369
}Semantic roles & 50–950 ramp
primary
#9E9028
secondary
#636EBF
accent
#58E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A