#9F9021#9F9021
#9F9021 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.8% C 0.125 H 101.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9021 |
|---|---|
| RGB | rgb(159, 144, 33) |
| HSL | hsl(53, 66%, 38%) |
| HSV | hsv(53, 79%, 62%) |
| CMYK | cmyk(0%, 9.4%, 79.2%, 37.6%) |
| CIE-LAB | lab(59.37, -6.45, 56.29) |
| CIE-LCH | lch(59.37, 56.65, 96.54°) |
| OKLab | oklab(64.75% -0.0241 0.1225) |
| OKLCH | oklch(64.75% 0.125 101.2) |
| XYZ | xyz(24.5470, 27.4284, 5.4398) |
| Luminance | 0.2743 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.02
Baby Shit Brown
#AD900D
ΔE00 4.45
Brown Yellow
#B29705
ΔE00 5.08
Dark Mustard
#A88905
ΔE00 5.14
Diarrhea
#9F8303
ΔE00 5.49
Dark Gold
#B59410
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9021 #21309F
analogous
#9F5121 #9F9021 #6F9F21
triadic
#9F9021 #219F90 #90219F
tetradic
#9F9021 #219F51 #21309F #9F216F
square
#9F9021 #219F51 #21309F #9F216F
split-complementary
#9F9021 #216F9F #51219F
monochromatic
#3A340C #6C6216 #9F9021 #D2BE2C #DDCE5D
Accessibility & contrast
On white
3.24
#9F9021 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.49
#9F9021 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F9021
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9021 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9021 | 1.00 | 3.24 | 6.49 | 6.49 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8C04
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#AC857B
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #9f9021; /* rgb */ color: rgb(159, 144, 33); /* oklch */ color: oklch(64.8% 0.125 101.2);
Tailwind
colors: {
custom: {
50: '#bfb066',
500: '#9f9021',
950: '#000000',
},
}SCSS
$custom: #9f9021; $custom-light: #bfb066; $custom-dark: #000000;
JSON
{
"hex": "#9f9021",
"rgb": {
"r": 159,
"g": 144,
"b": 33
},
"hsl": {
"h": 52.857,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.64754,
"c": 0.12482,
"h": 101.2
},
"luminance": 0.27427
}Semantic roles & 50–950 ramp
primary
#9F9021
secondary
#5A66C2
accent
#53E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A