#9F9321#9F9321
#9F9321 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.4% C 0.127 H 103.0°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9321 |
|---|---|
| RGB | rgb(159, 147, 33) |
| HSL | hsl(54, 66%, 38%) |
| HSV | hsv(54, 79%, 62%) |
| CMYK | cmyk(0%, 7.5%, 79.2%, 37.6%) |
| CIE-LAB | lab(60.20, -8.07, 57.04) |
| CIE-LCH | lch(60.20, 57.61, 98.05°) |
| OKLab | oklab(65.42% -0.0287 0.1241) |
| OKLCH | oklch(65.42% 0.127 103) |
| XYZ | xyz(25.0075, 28.3493, 5.5933) |
| Luminance | 0.2835 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.70
Baby Shit Brown
#AD900D
ΔE00 5.18
Brown Yellow
#B29705
ΔE00 5.26
Pea Soup
#929901
ΔE00 5.35
Baby Poop Green
#8F9805
ΔE00 5.75
Vomit
#A2A415
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9321 #212D9F
analogous
#9F5421 #9F9321 #6C9F21
triadic
#9F9321 #219F93 #93219F
tetradic
#9F9321 #219F54 #212D9F #9F216C
square
#9F9321 #219F54 #212D9F #9F216C
split-complementary
#9F9321 #216C9F #54219F
monochromatic
#3A350C #6C6416 #9F9321 #D2C22C #DDD15D
Accessibility & contrast
On white
3.15
#9F9321 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.67
#9F9321 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F9321
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9321 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9321 | 1.00 | 3.15 | 6.67 | 6.67 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18E02
Deuteranopia (green-blind)
#A5942A
Tritanopia (blue-blind)
#AC887E
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #9f9321; /* rgb */ color: rgb(159, 147, 33); /* oklch */ color: oklch(65.4% 0.127 103.0);
Tailwind
colors: {
custom: {
50: '#bfb267',
500: '#9f9321',
950: '#000000',
},
}SCSS
$custom: #9f9321; $custom-light: #bfb267; $custom-dark: #000000;
JSON
{
"hex": "#9f9321",
"rgb": {
"r": 159,
"g": 147,
"b": 33
},
"hsl": {
"h": 54.286,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.65417,
"c": 0.12735,
"h": 103
},
"luminance": 0.28348
}Semantic roles & 50–950 ramp
primary
#9F9321
secondary
#5A64C2
accent
#4FE93F
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A