#9F9C1E#9F9C1E
#9F9C1E is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.4% C 0.137 H 108.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9C1E |
|---|---|
| RGB | rgb(159, 156, 30) |
| HSL | hsl(59, 68%, 37%) |
| HSV | hsv(59, 81%, 62%) |
| CMYK | cmyk(0%, 1.9%, 81.1%, 37.6%) |
| CIE-LAB | lab(62.71, -12.95, 60.17) |
| CIE-LCH | lch(62.71, 61.55, 102.15°) |
| OKLab | oklab(67.41% -0.0426 0.1302) |
| OKLCH | oklch(67.41% 0.137 108.1) |
| XYZ | xyz(26.4220, 31.2425, 5.8667) |
| Luminance | 0.3124 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.69
Pea Soup
#929901
ΔE00 3.07
Puke
#A5A502
ΔE00 3.25
Baby Poop Green
#8F9805
ΔE00 3.68
Baby Shit Green
#889717
ΔE00 5.42
Pea Soup Green
#94A617
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9C1E #1E219F
analogous
#9F5C1E #9F9C1E #619F1E
triadic
#9F9C1E #1E9F9C #9C1E9F
tetradic
#9F9C1E #1E9F5C #1E219F #9F1E61
square
#9F9C1E #1E9F5C #1E219F #9F1E61
split-complementary
#9F9C1E #1E619F #5C1E9F
monochromatic
#38370B #6C6914 #9F9C1E #D2CF28 #DFDC58
Accessibility & contrast
On white
2.90
#9F9C1E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#9F9C1E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9C1E
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9C1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9C1E | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AC9A2A
Tritanopia (blue-blind)
#AB9185
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9f9c1e; /* rgb */ color: rgb(159, 156, 30); /* oklch */ color: oklch(67.4% 0.137 108.1);
Tailwind
colors: {
custom: {
50: '#bfb867',
500: '#9f9c1e',
950: '#000000',
},
}SCSS
$custom: #9f9c1e; $custom-light: #bfb867; $custom-dark: #000000;
JSON
{
"hex": "#9f9c1e",
"rgb": {
"r": 159,
"g": 156,
"b": 30
},
"hsl": {
"h": 58.605,
"s": 68.254,
"l": 37.059
},
"oklch": {
"l": 0.67411,
"c": 0.13701,
"h": 108.1
},
"luminance": 0.31242
}Semantic roles & 50–950 ramp
primary
#9F9C1E
secondary
#5658C3
accent
#41EB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A