#9F911F#9F911F
#9F911F is a light, vivid yellow. Relative luminance 0.277; OKLCH L 65.0% C 0.127 H 101.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9F911F |
|---|---|
| RGB | rgb(159, 145, 31) |
| HSL | hsl(53, 67%, 37%) |
| HSV | hsv(53, 81%, 62%) |
| CMYK | cmyk(0%, 8.8%, 80.5%, 37.6%) |
| CIE-LAB | lab(59.64, -7.07, 57.17) |
| CIE-LCH | lch(59.64, 57.60, 97.05°) |
| OKLab | oklab(64.96% -0.0261 0.124) |
| OKLCH | oklch(64.96% 0.127 101.9) |
| XYZ | xyz(24.6720, 27.7218, 5.3473) |
| Luminance | 0.2772 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.15
Baby Shit Brown
#AD900D
ΔE00 4.63
Brown Yellow
#B29705
ΔE00 5.03
Dark Mustard
#A88905
ΔE00 5.46
Diarrhea
#9F8303
ΔE00 5.86
Pea Soup
#929901
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F911F #1F2D9F
analogous
#9F511F #9F911F #6D9F1F
triadic
#9F911F #1F9F91 #911F9F
tetradic
#9F911F #1F9F51 #1F2D9F #9F1F6D
square
#9F911F #1F9F51 #1F2D9F #9F1F6D
split-complementary
#9F911F #1F6D9F #511F9F
monochromatic
#39340B #6C6215 #9F911F #D2C029 #DFD05A
Accessibility & contrast
On white
3.21
#9F911F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#9F911F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F911F
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F911F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F911F | 1.00 | 3.21 | 6.54 | 6.54 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A39228
Tritanopia (blue-blind)
#AC867C
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9f911f; /* rgb */ color: rgb(159, 145, 31); /* oklch */ color: oklch(65.0% 0.127 101.9);
Tailwind
colors: {
custom: {
50: '#bfb066',
500: '#9f911f',
950: '#000000',
},
}SCSS
$custom: #9f911f; $custom-light: #bfb066; $custom-dark: #000000;
JSON
{
"hex": "#9f911f",
"rgb": {
"r": 159,
"g": 145,
"b": 31
},
"hsl": {
"h": 53.438,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.64964,
"c": 0.12666,
"h": 101.9
},
"luminance": 0.27721
}Semantic roles & 50–950 ramp
primary
#9F911F
secondary
#5763C3
accent
#50EA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A