#9EA628#9EA628
#9EA628 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.6% C 0.142 H 113.3°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA628 |
|---|---|
| RGB | rgb(158, 166, 40) |
| HSL | hsl(64, 61%, 40%) |
| HSV | hsv(64, 76%, 65%) |
| CMYK | cmyk(4.8%, 0%, 75.9%, 34.9%) |
| CIE-LAB | lab(65.51, -18.17, 59.58) |
| CIE-LCH | lch(65.51, 62.28, 106.96°) |
| OKLab | oklab(69.65% -0.0562 0.1309) |
| OKLCH | oklch(69.65% 0.142 113.3) |
| XYZ | xyz(28.1207, 34.6954, 7.2226) |
| Luminance | 0.3469 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.21
Pea Soup Green
#94A617
ΔE00 2.41
Puke
#A5A502
ΔE00 3.23
Puke Green
#9AAE07
ΔE00 3.52
Barf Green
#94AC02
ΔE00 3.83
Pea Soup
#929901
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA628 #3028A6
analogous
#A66F28 #9EA628 #5FA628
triadic
#9EA628 #289EA6 #A6289E
tetradic
#9EA628 #28A66F #3028A6 #A6285F
square
#9EA628 #28A66F #3028A6 #A6285F
split-complementary
#9EA628 #285FA6 #6F28A6
monochromatic
#404310 #6F751C #9EA628 #C6D03B #D5DC6D
Accessibility & contrast
On white
2.65
#9EA628 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#9EA628 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA628
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA628 | 1.00 | 2.65 | 7.94 | 7.94 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E09
Deuteranopia (green-blind)
#B3A033
Tritanopia (blue-blind)
#A99C8E
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #9ea628; /* rgb */ color: rgb(158, 166, 40); /* oklch */ color: oklch(69.6% 0.142 113.3);
Tailwind
colors: {
custom: {
50: '#bec06c',
500: '#9ea628',
950: '#000000',
},
}SCSS
$custom: #9ea628; $custom-light: #bec06c; $custom-dark: #000000;
JSON
{
"hex": "#9ea628",
"rgb": {
"r": 158,
"g": 166,
"b": 40
},
"hsl": {
"h": 63.81,
"s": 61.165,
"l": 40.392
},
"oklch": {
"l": 0.69645,
"c": 0.14242,
"h": 113.3
},
"luminance": 0.34695
}Semantic roles & 50–950 ramp
primary
#9EA628
secondary
#6D67C2
accent
#44E44E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A