#9EAF38#9EAF38
#9EAF38 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 71.8% C 0.142 H 117.1°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9EAF38 |
|---|---|
| RGB | rgb(158, 175, 56) |
| HSL | hsl(69, 52%, 45%) |
| HSV | hsv(69, 68%, 69%) |
| CMYK | cmyk(9.7%, 0%, 68%, 31.4%) |
| CIE-LAB | lab(68.18, -21.86, 56.34) |
| CIE-LCH | lch(68.18, 60.43, 111.21°) |
| OKLab | oklab(71.82% -0.065 0.1268) |
| OKLCH | oklch(71.82% 0.142 117.1) |
| XYZ | xyz(30.1450, 38.2149, 9.5288) |
| Luminance | 0.3821 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.34
Sickly Green
#94B21C
ΔE00 3.14
Icky Green
#8FAE22
ΔE00 3.19
Puke Green
#9AAE07
ΔE00 3.20
Avocado (survey)
#90B134
ΔE00 3.36
Sick Green
#9DB92C
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EAF38 #4938AF
analogous
#AF8438 #9EAF38 #63AF38
triadic
#9EAF38 #389EAF #AF389E
tetradic
#9EAF38 #38AF84 #4938AF #AF3863
square
#9EAF38 #38AF84 #4938AF #AF3863
split-complementary
#9EAF38 #3863AF #8438AF
monochromatic
#4A521A #748129 #9EAF38 #BACA5A #CED988
Accessibility & contrast
On white
2.43
#9EAF38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.64
#9EAF38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EAF38
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EAF38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EAF38 | 1.00 | 2.43 | 8.64 | 8.64 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#B9A741
Tritanopia (blue-blind)
#A8A597
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #9eaf38; /* rgb */ color: rgb(158, 175, 56); /* oklch */ color: oklch(71.8% 0.142 117.1);
Tailwind
colors: {
custom: {
50: '#bec676',
500: '#9eaf38',
950: '#000000',
},
}SCSS
$custom: #9eaf38; $custom-light: #bec676; $custom-dark: #000000;
JSON
{
"hex": "#9eaf38",
"rgb": {
"r": 158,
"g": 175,
"b": 56
},
"hsl": {
"h": 68.571,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.71817,
"c": 0.14244,
"h": 117.1
},
"luminance": 0.38215
}Semantic roles & 50–950 ramp
primary
#9EAF38
secondary
#8980C3
accent
#4DDB61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B