#9F941F#9F941F
#9F941F is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.6% C 0.129 H 103.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9F941F |
|---|---|
| RGB | rgb(159, 148, 31) |
| HSL | hsl(55, 67%, 37%) |
| HSV | hsv(55, 81%, 62%) |
| CMYK | cmyk(0%, 6.9%, 80.5%, 37.6%) |
| CIE-LAB | lab(60.47, -8.68, 57.91) |
| CIE-LCH | lch(60.47, 58.55, 98.52°) |
| OKLab | oklab(65.63% -0.0306 0.1255) |
| OKLCH | oklch(65.63% 0.129 103.7) |
| XYZ | xyz(25.1365, 28.6507, 5.5022) |
| Luminance | 0.2865 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.92
Pea Soup
#929901
ΔE00 4.97
Brown Yellow
#B29705
ΔE00 5.32
Baby Poop Green
#8F9805
ΔE00 5.40
Baby Shit Brown
#AD900D
ΔE00 5.42
Vomit
#A2A415
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F941F #1F2A9F
analogous
#9F541F #9F941F #6A9F1F
triadic
#9F941F #1F9F94 #941F9F
tetradic
#9F941F #1F9F54 #1F2A9F #9F1F6A
square
#9F941F #1F9F54 #1F2A9F #9F1F6A
split-complementary
#9F941F #1F6A9F #541F9F
monochromatic
#39350B #6C6415 #9F941F #D2C429 #DFD35A
Accessibility & contrast
On white
3.12
#9F941F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#9F941F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F941F
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F941F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F941F | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A69429
Tritanopia (blue-blind)
#AC897F
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9f941f; /* rgb */ color: rgb(159, 148, 31); /* oklch */ color: oklch(65.6% 0.129 103.7);
Tailwind
colors: {
custom: {
50: '#bfb366',
500: '#9f941f',
950: '#000000',
},
}SCSS
$custom: #9f941f; $custom-light: #bfb366; $custom-dark: #000000;
JSON
{
"hex": "#9f941f",
"rgb": {
"r": 159,
"g": 148,
"b": 31
},
"hsl": {
"h": 54.844,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.65628,
"c": 0.12921,
"h": 103.7
},
"luminance": 0.2865
}Semantic roles & 50–950 ramp
primary
#9F941F
secondary
#5760C3
accent
#4CEA3E
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A