#9E9128#9E9128
#9E9128 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.9% C 0.122 H 102.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9128 |
|---|---|
| RGB | rgb(158, 145, 40) |
| HSL | hsl(53, 60%, 39%) |
| HSV | hsv(53, 75%, 62%) |
| CMYK | cmyk(0%, 8.2%, 74.7%, 38%) |
| CIE-LAB | lab(59.59, -7.15, 54.00) |
| CIE-LCH | lch(59.59, 54.48, 97.54°) |
| OKLab | oklab(64.92% -0.0254 0.119) |
| OKLCH | oklch(64.92% 0.122 102) |
| XYZ | xyz(24.6101, 27.6742, 6.0524) |
| Luminance | 0.2767 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.80
Baby Shit Brown
#AD900D
ΔE00 5.19
Brown Yellow
#B29705
ΔE00 5.67
Dark Mustard
#A88905
ΔE00 5.92
Pea Soup
#929901
ΔE00 6.05
Diarrhea
#9F8303
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9128 #28359E
analogous
#9E5628 #9E9128 #709E28
triadic
#9E9128 #289E91 #91289E
tetradic
#9E9128 #289E56 #28359E #9E2870
square
#9E9128 #289E56 #28359E #9E2870
split-complementary
#9E9128 #28709E #56289E
monochromatic
#3C370F #6D641C #9E9128 #CCBC37 #D9CC68
Accessibility & contrast
On white
3.21
#9E9128 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#9E9128 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E9128
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9128 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9128 | 1.00 | 3.21 | 6.53 | 6.53 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8C15
Deuteranopia (green-blind)
#A3922F
Tritanopia (blue-blind)
#AA867D
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #9e9128; /* rgb */ color: rgb(158, 145, 40); /* oklch */ color: oklch(64.9% 0.122 102.0);
Tailwind
colors: {
custom: {
50: '#beb06a',
500: '#9e9128',
950: '#000000',
},
}SCSS
$custom: #9e9128; $custom-light: #beb06a; $custom-dark: #000000;
JSON
{
"hex": "#9e9128",
"rgb": {
"r": 158,
"g": 145,
"b": 40
},
"hsl": {
"h": 53.39,
"s": 59.596,
"l": 38.824
},
"oklch": {
"l": 0.64923,
"c": 0.12171,
"h": 102
},
"luminance": 0.27673
}Semantic roles & 50–950 ramp
primary
#9E9128
secondary
#636DBF
accent
#56E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A