#9F8726#9F8726
#9F8726 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.8% C 0.115 H 94.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8726 |
|---|---|
| RGB | rgb(159, 135, 38) |
| HSL | hsl(48, 61%, 39%) |
| HSV | hsv(48, 76%, 62%) |
| CMYK | cmyk(0%, 15.1%, 76.1%, 37.6%) |
| CIE-LAB | lab(56.92, -1.32, 52.24) |
| CIE-LCH | lch(56.92, 52.26, 91.45°) |
| OKLab | oklab(62.82% -0.0091 0.1149) |
| OKLCH | oklch(62.82% 0.115 94.5) |
| XYZ | xyz(23.3132, 24.8401, 5.4000) |
| Luminance | 0.2484 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.69
Dark Mustard
#A88905
ΔE00 3.36
Yellowy Brown
#AE8B0C
ΔE00 4.38
Baby Poop
#937C00
ΔE00 4.49
Baby Shit Brown
#AD900D
ΔE00 4.52
Baby Poo
#AB9004
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8726 #263E9F
analogous
#9F4A26 #9F8726 #7A9F26
triadic
#9F8726 #269F87 #87269F
tetradic
#9F8726 #269F4A #263E9F #9F267A
square
#9F8726 #269F4A #263E9F #9F267A
split-complementary
#9F8726 #267A9F #4A269F
monochromatic
#3C330E #6E5D1A #9F8726 #CEB034 #DAC365
Accessibility & contrast
On white
3.52
#9F8726 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#9F8726 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8726
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8726 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8726 | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968415
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#AC7C74
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9f8726; /* rgb */ color: rgb(159, 135, 38); /* oklch */ color: oklch(62.8% 0.115 94.5);
Tailwind
colors: {
custom: {
50: '#bfa968',
500: '#9f8726',
950: '#000000',
},
}SCSS
$custom: #9f8726; $custom-light: #bfa968; $custom-dark: #000000;
JSON
{
"hex": "#9f8726",
"rgb": {
"r": 159,
"g": 135,
"b": 38
},
"hsl": {
"h": 48.099,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.62822,
"c": 0.11522,
"h": 94.5
},
"luminance": 0.24839
}Semantic roles & 50–950 ramp
primary
#9F8726
secondary
#6174C0
accent
#63E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A