#9F8927#9F8927
#9F8927 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.3% C 0.116 H 95.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8927 |
|---|---|
| RGB | rgb(159, 137, 39) |
| HSL | hsl(49, 61%, 39%) |
| HSV | hsv(49, 75%, 62%) |
| CMYK | cmyk(0%, 13.8%, 75.5%, 37.6%) |
| CIE-LAB | lab(57.47, -2.38, 52.39) |
| CIE-LCH | lch(57.47, 52.44, 92.60°) |
| OKLab | oklab(63.26% -0.012 0.1154) |
| OKLCH | oklch(63.26% 0.116 95.9) |
| XYZ | xyz(23.6112, 25.4100, 5.5800) |
| Luminance | 0.2541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.20
Dark Mustard
#A88905
ΔE00 3.56
Baby Poo
#AB9004
ΔE00 4.23
Baby Shit Brown
#AD900D
ΔE00 4.29
Yellowy Brown
#AE8B0C
ΔE00 4.60
Baby Poop
#937C00
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8927 #273D9F
analogous
#9F4D27 #9F8927 #799F27
triadic
#9F8927 #279F89 #89279F
tetradic
#9F8927 #279F4D #273D9F #9F2779
square
#9F8927 #279F4D #273D9F #9F2779
split-complementary
#9F8927 #27799F #4D279F
monochromatic
#3D340F #6E5F1B #9F8927 #CEB236 #DAC567
Accessibility & contrast
On white
3.45
#9F8927 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#9F8927 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8927
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8927 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8927 | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988616
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#AC7E76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9f8927; /* rgb */ color: rgb(159, 137, 39); /* oklch */ color: oklch(63.3% 0.116 95.9);
Tailwind
colors: {
custom: {
50: '#bfab68',
500: '#9f8927',
950: '#000000',
},
}SCSS
$custom: #9f8927; $custom-light: #bfab68; $custom-dark: #000000;
JSON
{
"hex": "#9f8927",
"rgb": {
"r": 159,
"g": 137,
"b": 39
},
"hsl": {
"h": 49,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.63262,
"c": 0.11599,
"h": 95.9
},
"luminance": 0.25409
}Semantic roles & 50–950 ramp
primary
#9F8927
secondary
#6273C0
accent
#61E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A