#9F8928#9F8928
#9F8928 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.3% C 0.115 H 95.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8928 |
|---|---|
| RGB | rgb(159, 137, 40) |
| HSL | hsl(49, 60%, 39%) |
| HSV | hsv(49, 75%, 62%) |
| CMYK | cmyk(0%, 13.8%, 74.8%, 37.6%) |
| CIE-LAB | lab(57.48, -2.33, 52.01) |
| CIE-LCH | lch(57.48, 52.06, 92.57°) |
| OKLab | oklab(63.27% -0.0118 0.1148) |
| OKLCH | oklch(63.27% 0.115 95.9) |
| XYZ | xyz(23.6280, 25.4167, 5.6685) |
| Luminance | 0.2541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.27
Dark Mustard
#A88905
ΔE00 3.63
Baby Poo
#AB9004
ΔE00 4.31
Baby Shit Brown
#AD900D
ΔE00 4.35
Yellowy Brown
#AE8B0C
ΔE00 4.64
Baby Poop
#937C00
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8928 #283E9F
analogous
#9F4E28 #9F8928 #7A9F28
triadic
#9F8928 #289F89 #89289F
tetradic
#9F8928 #289F4E #283E9F #9F287A
square
#9F8928 #289F4E #283E9F #9F287A
split-complementary
#9F8928 #287A9F #4E289F
monochromatic
#3D350F #6E5F1C #9F8928 #CDB137 #D9C468
Accessibility & contrast
On white
3.45
#9F8928 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#9F8928 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8928
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8928 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8928 | 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)
#988618
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#AC7E76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9f8928; /* rgb */ color: rgb(159, 137, 40); /* oklch */ color: oklch(63.3% 0.115 95.9);
Tailwind
colors: {
custom: {
50: '#bfab69',
500: '#9f8928',
950: '#000000',
},
}SCSS
$custom: #9f8928; $custom-light: #bfab69; $custom-dark: #000000;
JSON
{
"hex": "#9f8928",
"rgb": {
"r": 159,
"g": 137,
"b": 40
},
"hsl": {
"h": 48.908,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.63269,
"c": 0.11537,
"h": 95.9
},
"luminance": 0.25415
}Semantic roles & 50–950 ramp
primary
#9F8928
secondary
#6474BF
accent
#62E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A