#9F8818#9F8818
#9F8818 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 63.0% C 0.123 H 96.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8818 |
|---|---|
| RGB | rgb(159, 136, 24) |
| HSL | hsl(50, 74%, 36%) |
| HSV | hsv(50, 85%, 62%) |
| CMYK | cmyk(0%, 14.5%, 84.9%, 37.6%) |
| CIE-LAB | lab(57.12, -2.39, 57.06) |
| CIE-LCH | lch(57.12, 57.11, 92.40°) |
| OKLab | oklab(62.96% -0.0135 0.1223) |
| OKLCH | oklch(62.96% 0.123 96.3) |
| XYZ | xyz(23.2684, 25.0465, 4.4729) |
| Luminance | 0.2505 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.22
Dark Mustard
#A88905
ΔE00 2.72
Baby Poo
#AB9004
ΔE00 3.57
Baby Shit Brown
#AD900D
ΔE00 3.74
Yellowy Brown
#AE8B0C
ΔE00 4.06
Baby Poop
#937C00
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8818 #182F9F
analogous
#9F4418 #9F8818 #729F18
triadic
#9F8818 #189F88 #88189F
tetradic
#9F8818 #189F44 #182F9F #9F1872
square
#9F8818 #189F44 #182F9F #9F1872
split-complementary
#9F8818 #18729F #44189F
monochromatic
#352D08 #6A5B10 #9F8818 #D4B520 #E4CA4D
Accessibility & contrast
On white
3.49
#9F8818 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#9F8818 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8818
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8818 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8818 | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#9D8C21
Tritanopia (blue-blind)
#AC7D74
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9f8818; /* rgb */ color: rgb(159, 136, 24); /* oklch */ color: oklch(63.0% 0.123 96.3);
Tailwind
colors: {
custom: {
50: '#c0aa62',
500: '#9f8818',
950: '#000000',
},
}SCSS
$custom: #9f8818; $custom-light: #c0aa62; $custom-dark: #000000;
JSON
{
"hex": "#9f8818",
"rgb": {
"r": 159,
"g": 136,
"b": 24
},
"hsl": {
"h": 49.778,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.62959,
"c": 0.12303,
"h": 96.3
},
"luminance": 0.25045
}Semantic roles & 50–950 ramp
primary
#9F8818
secondary
#4D61C6
accent
#57F037
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A