#9E9727#9E9727
#9E9727 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.3% C 0.128 H 105.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9727 |
|---|---|
| RGB | rgb(158, 151, 39) |
| HSL | hsl(56, 60%, 39%) |
| HSV | hsv(56, 75%, 62%) |
| CMYK | cmyk(0%, 4.4%, 75.3%, 38%) |
| CIE-LAB | lab(61.26, -10.41, 55.95) |
| CIE-LCH | lch(61.26, 56.91, 100.54°) |
| OKLab | oklab(66.25% -0.0346 0.123) |
| OKLCH | oklch(66.25% 0.128 105.7) |
| XYZ | xyz(25.5344, 29.5498, 6.2777) |
| Luminance | 0.2955 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.07
Baby Poop Green
#8F9805
ΔE00 4.47
Vomit
#A2A415
ΔE00 4.70
Puke
#A5A502
ΔE00 5.20
Baby Shit Green
#889717
ΔE00 5.90
Baby Poo
#AB9004
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9727 #272E9E
analogous
#9E5B27 #9E9727 #699E27
triadic
#9E9727 #279E97 #97279E
tetradic
#9E9727 #279E5B #272E9E #9E2769
square
#9E9727 #279E5B #272E9E #9E2769
split-complementary
#9E9727 #27699E #5B279E
monochromatic
#3C390F #6D681B #9E9727 #CDC435 #D9D266
Accessibility & contrast
On white
3.04
#9E9727 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.91
#9E9727 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E9727
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9727 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9727 | 1.00 | 3.04 | 6.91 | 6.91 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49110
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#AA8C82
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9e9727; /* rgb */ color: rgb(158, 151, 39); /* oklch */ color: oklch(66.3% 0.128 105.7);
Tailwind
colors: {
custom: {
50: '#beb56a',
500: '#9e9727',
950: '#000000',
},
}SCSS
$custom: #9e9727; $custom-light: #beb56a; $custom-dark: #000000;
JSON
{
"hex": "#9e9727",
"rgb": {
"r": 158,
"g": 151,
"b": 39
},
"hsl": {
"h": 56.471,
"s": 60.406,
"l": 38.627
},
"oklch": {
"l": 0.6625,
"c": 0.12776,
"h": 105.7
},
"luminance": 0.29549
}Semantic roles & 50–950 ramp
primary
#9E9727
secondary
#6267BF
accent
#4EE444
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A