#9F9E18#9F9E18
#9F9E18 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.8% C 0.141 H 109.2°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9E18 |
|---|---|
| RGB | rgb(159, 158, 24) |
| HSL | hsl(60, 74%, 36%) |
| HSV | hsv(60, 85%, 62%) |
| CMYK | cmyk(0%, 0.6%, 84.9%, 37.6%) |
| CIE-LAB | lab(63.25, -14.18, 62.21) |
| CIE-LCH | lch(63.25, 63.80, 102.84°) |
| OKLab | oklab(67.84% -0.0464 0.1335) |
| OKLCH | oklch(67.84% 0.141 109.2) |
| XYZ | xyz(26.6909, 31.8915, 5.6137) |
| Luminance | 0.3189 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.89
Puke
#A5A502
ΔE00 2.49
Pea Soup
#929901
ΔE00 2.90
Baby Poop Green
#8F9805
ΔE00 3.58
Pea Soup Green
#94A617
ΔE00 4.80
Baby Shit Green
#889717
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9E18 #18199F
analogous
#9F5B18 #9F9E18 #5C9F18
triadic
#9F9E18 #189F9E #9E189F
tetradic
#9F9E18 #189F5B #18199F #9F185C
square
#9F9E18 #189F5B #18199F #9F185C
split-complementary
#9F9E18 #185C9F #5B189F
monochromatic
#353408 #6A6910 #9F9E18 #D4D320 #E4E34D
Accessibility & contrast
On white
2.85
#9F9E18 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#9F9E18 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9E18
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9E18 | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AD9B26
Tritanopia (blue-blind)
#AB9387
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #9f9e18; /* rgb */ color: rgb(159, 158, 24); /* oklch */ color: oklch(67.8% 0.141 109.2);
Tailwind
colors: {
custom: {
50: '#bfba65',
500: '#9f9e18',
950: '#000000',
},
}SCSS
$custom: #9f9e18; $custom-light: #bfba65; $custom-dark: #000000;
JSON
{
"hex": "#9f9e18",
"rgb": {
"r": 159,
"g": 158,
"b": 24
},
"hsl": {
"h": 59.556,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.67836,
"c": 0.14138,
"h": 109.2
},
"luminance": 0.31891
}Semantic roles & 50–950 ramp
primary
#9F9E18
secondary
#4D4EC6
accent
#39F037
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A