#9F9722#9F9722
#9F9722 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.3% C 0.130 H 105.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9722 |
|---|---|
| RGB | rgb(159, 151, 34) |
| HSL | hsl(56, 65%, 38%) |
| HSV | hsv(56, 79%, 62%) |
| CMYK | cmyk(0%, 5%, 78.6%, 37.6%) |
| CIE-LAB | lab(61.33, -10.17, 57.73) |
| CIE-LCH | lch(61.33, 58.62, 99.99°) |
| OKLab | oklab(66.31% -0.0345 0.1258) |
| OKLCH | oklch(66.31% 0.13 105.3) |
| XYZ | xyz(25.6545, 29.6206, 5.8791) |
| Luminance | 0.2962 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.14
Baby Poop Green
#8F9805
ΔE00 4.61
Vomit
#A2A415
ΔE00 4.61
Puke
#A5A502
ΔE00 5.00
Baby Poo
#AB9004
ΔE00 5.88
Brown Yellow
#B29705
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9722 #222A9F
analogous
#9F5822 #9F9722 #689F22
triadic
#9F9722 #229F97 #97229F
tetradic
#9F9722 #229F58 #222A9F #9F2268
square
#9F9722 #229F58 #222A9F #9F2268
split-complementary
#9F9722 #22689F #58229F
monochromatic
#3A370C #6D6717 #9F9722 #D1C72D #DDD55F
Accessibility & contrast
On white
3.03
#9F9722 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#9F9722 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F9722
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9722 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9722 | 1.00 | 3.03 | 6.92 | 6.92 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59102
Deuteranopia (green-blind)
#A8962C
Tritanopia (blue-blind)
#AB8C81
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9f9722; /* rgb */ color: rgb(159, 151, 34); /* oklch */ color: oklch(66.3% 0.130 105.3);
Tailwind
colors: {
custom: {
50: '#bfb568',
500: '#9f9722',
950: '#000000',
},
}SCSS
$custom: #9f9722; $custom-light: #bfb568; $custom-dark: #000000;
JSON
{
"hex": "#9f9722",
"rgb": {
"r": 159,
"g": 151,
"b": 34
},
"hsl": {
"h": 56.16,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.66312,
"c": 0.13039,
"h": 105.3
},
"luminance": 0.2962
}Semantic roles & 50–950 ramp
primary
#9F9722
secondary
#5B62C1
accent
#4BE840
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A