#9F9927#9F9927
#9F9927 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.130 H 106.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9927 |
|---|---|
| RGB | rgb(159, 153, 39) |
| HSL | hsl(57, 61%, 39%) |
| HSV | hsv(57, 75%, 62%) |
| CMYK | cmyk(0%, 3.8%, 75.5%, 37.6%) |
| CIE-LAB | lab(61.91, -11.02, 56.59) |
| CIE-LCH | lch(61.91, 57.65, 101.02°) |
| OKLab | oklab(66.79% -0.0364 0.1243) |
| OKLCH | oklch(66.79% 0.13 106.3) |
| XYZ | xyz(26.0566, 30.3008, 6.3952) |
| Luminance | 0.3030 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.83
Vomit
#A2A415
ΔE00 4.06
Baby Poop Green
#8F9805
ΔE00 4.28
Puke
#A5A502
ΔE00 4.59
Baby Shit Green
#889717
ΔE00 5.78
Brown Yellow
#B29705
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9927 #272D9F
analogous
#9F5D27 #9F9927 #699F27
triadic
#9F9927 #279F99 #99279F
tetradic
#9F9927 #279F5D #272D9F #9F2769
square
#9F9927 #279F5D #272D9F #9F2769
split-complementary
#9F9927 #27699F #5D279F
monochromatic
#3D3A0F #6E6A1B #9F9927 #CEC636 #DAD467
Accessibility & contrast
On white
2.97
#9F9927 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#9F9927 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9927
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9927 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9927 | 1.00 | 2.97 | 7.06 | 7.06 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7930F
Deuteranopia (green-blind)
#A99830
Tritanopia (blue-blind)
#AB8E83
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9f9927; /* rgb */ color: rgb(159, 153, 39); /* oklch */ color: oklch(66.8% 0.130 106.3);
Tailwind
colors: {
custom: {
50: '#bfb66a',
500: '#9f9927',
950: '#000000',
},
}SCSS
$custom: #9f9927; $custom-light: #bfb66a; $custom-dark: #000000;
JSON
{
"hex": "#9f9927",
"rgb": {
"r": 159,
"g": 153,
"b": 39
},
"hsl": {
"h": 57,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.66788,
"c": 0.12952,
"h": 106.3
},
"luminance": 0.303
}Semantic roles & 50–950 ramp
primary
#9F9927
secondary
#6267C0
accent
#4CE444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A