#9F8926#9F8926
#9F8926 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.3% C 0.117 H 96.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8926 |
|---|---|
| RGB | rgb(159, 137, 38) |
| HSL | hsl(49, 61%, 39%) |
| HSV | hsv(49, 76%, 62%) |
| CMYK | cmyk(0%, 13.8%, 76.1%, 37.6%) |
| CIE-LAB | lab(57.47, -2.42, 52.76) |
| CIE-LCH | lch(57.47, 52.82, 92.63°) |
| OKLab | oklab(63.26% -0.0123 0.116) |
| OKLCH | oklch(63.26% 0.117 96) |
| XYZ | xyz(23.5948, 25.4035, 5.4939) |
| Luminance | 0.2540 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.14
Dark Mustard
#A88905
ΔE00 3.49
Baby Poo
#AB9004
ΔE00 4.16
Baby Shit Brown
#AD900D
ΔE00 4.22
Yellowy Brown
#AE8B0C
ΔE00 4.55
Baby Poop
#937C00
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8926 #263C9F
analogous
#9F4C26 #9F8926 #789F26
triadic
#9F8926 #269F89 #89269F
tetradic
#9F8926 #269F4C #263C9F #9F2678
square
#9F8926 #269F4C #263C9F #9F2678
split-complementary
#9F8926 #26789F #4C269F
monochromatic
#3C340E #6E5E1A #9F8926 #CEB234 #DAC565
Accessibility & contrast
On white
3.45
#9F8926 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#9F8926 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8926
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8926 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8926 | 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)
#988614
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#AC7E76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9f8926; /* rgb */ color: rgb(159, 137, 38); /* oklch */ color: oklch(63.3% 0.117 96.0);
Tailwind
colors: {
custom: {
50: '#bfab68',
500: '#9f8926',
950: '#000000',
},
}SCSS
$custom: #9f8926; $custom-light: #bfab68; $custom-dark: #000000;
JSON
{
"hex": "#9f8926",
"rgb": {
"r": 159,
"g": 137,
"b": 38
},
"hsl": {
"h": 49.091,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.63255,
"c": 0.11661,
"h": 96
},
"luminance": 0.25402
}Semantic roles & 50–950 ramp
primary
#9F8926
secondary
#6172C0
accent
#61E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A