#9F8627#9F8627
#9F8627 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.6% C 0.114 H 93.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8627 |
|---|---|
| RGB | rgb(159, 134, 39) |
| HSL | hsl(48, 61%, 39%) |
| HSV | hsv(48, 75%, 62%) |
| CMYK | cmyk(0%, 15.7%, 75.5%, 37.6%) |
| CIE-LAB | lab(56.65, -0.72, 51.60) |
| CIE-LCH | lch(56.65, 51.61, 90.80°) |
| OKLab | oklab(62.61% -0.0073 0.1137) |
| OKLCH | oklch(62.61% 0.114 93.7) |
| XYZ | xyz(23.1906, 24.5689, 5.4399) |
| Luminance | 0.2457 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.66
Dark Mustard
#A88905
ΔE00 3.46
Baby Poop
#937C00
ΔE00 4.38
Yellowy Brown
#AE8B0C
ΔE00 4.42
Baby Shit Brown
#AD900D
ΔE00 4.79
Yellowish Brown
#9B7A01
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8627 #27409F
analogous
#9F4A27 #9F8627 #7C9F27
triadic
#9F8627 #279F86 #86279F
tetradic
#9F8627 #279F4A #27409F #9F277C
square
#9F8627 #279F4A #27409F #9F277C
split-complementary
#9F8627 #277C9F #4A279F
monochromatic
#3D330F #6E5D1B #9F8627 #CEAE36 #DAC267
Accessibility & contrast
On white
3.55
#9F8627 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#9F8627 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8627
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8627 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8627 | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958417
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#AC7B73
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9f8627; /* rgb */ color: rgb(159, 134, 39); /* oklch */ color: oklch(62.6% 0.114 93.7);
Tailwind
colors: {
custom: {
50: '#bfa868',
500: '#9f8627',
950: '#000000',
},
}SCSS
$custom: #9f8627; $custom-light: #bfa868; $custom-dark: #000000;
JSON
{
"hex": "#9f8627",
"rgb": {
"r": 159,
"g": 134,
"b": 39
},
"hsl": {
"h": 47.5,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.62614,
"c": 0.11393,
"h": 93.7
},
"luminance": 0.24568
}Semantic roles & 50–950 ramp
primary
#9F8627
secondary
#6276C0
accent
#65E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A