#9F9F18#9F9F18
#9F9F18 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.1% C 0.142 H 109.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9F18 |
|---|---|
| RGB | rgb(159, 159, 24) |
| HSL | hsl(60, 74%, 36%) |
| HSV | hsv(60, 85%, 62%) |
| CMYK | cmyk(0%, 0%, 84.9%, 37.6%) |
| CIE-LAB | lab(63.54, -14.70, 62.44) |
| CIE-LCH | lch(63.54, 64.15, 103.25°) |
| OKLab | oklab(68.06% -0.0479 0.1341) |
| OKLCH | oklch(68.06% 0.142 109.7) |
| XYZ | xyz(26.8622, 32.2340, 5.6708) |
| Luminance | 0.3223 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.57
Puke
#A5A502
ΔE00 2.26
Pea Soup
#929901
ΔE00 2.93
Baby Poop Green
#8F9805
ΔE00 3.59
Pea Soup Green
#94A617
ΔE00 4.49
Baby Shit Green
#889717
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9F18 #18189F
analogous
#9F5B18 #9F9F18 #5B9F18
triadic
#9F9F18 #189F9F #9F189F
tetradic
#9F9F18 #189F5B #18189F #9F185B
square
#9F9F18 #189F5B #18189F #9F185B
split-complementary
#9F9F18 #185B9F #5B189F
monochromatic
#353508 #6A6A10 #9F9F18 #D4D420 #E4E44D
Accessibility & contrast
On white
2.82
#9F9F18 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.45
#9F9F18 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9F18
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9F18 | 1.00 | 2.82 | 7.45 | 7.45 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AE9C26
Tritanopia (blue-blind)
#AB9487
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #9f9f18; /* rgb */ color: rgb(159, 159, 24); /* oklch */ color: oklch(68.1% 0.142 109.7);
Tailwind
colors: {
custom: {
50: '#bfbb65',
500: '#9f9f18',
950: '#000000',
},
}SCSS
$custom: #9f9f18; $custom-light: #bfbb65; $custom-dark: #000000;
JSON
{
"hex": "#9f9f18",
"rgb": {
"r": 159,
"g": 159,
"b": 24
},
"hsl": {
"h": 60,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.68062,
"c": 0.14235,
"h": 109.7
},
"luminance": 0.32233
}Semantic roles & 50–950 ramp
primary
#9F9F18
secondary
#4D4DC6
accent
#37F037
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A