#9F8215#9F8215
#9F8215 is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.7% C 0.121 H 92.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8215 |
|---|---|
| RGB | rgb(159, 130, 21) |
| HSL | hsl(47, 77%, 35%) |
| HSV | hsv(47, 87%, 62%) |
| CMYK | cmyk(0%, 18.2%, 86.8%, 37.6%) |
| CIE-LAB | lab(55.47, 0.85, 56.50) |
| CIE-LCH | lch(55.47, 56.51, 89.14°) |
| OKLab | oklab(61.65% -0.0045 0.1204) |
| OKLCH | oklch(61.65% 0.121 92.2) |
| XYZ | xyz(22.4174, 23.3918, 4.0436) |
| Luminance | 0.2339 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.21
Yellowish Brown
#9B7A01
ΔE00 2.96
Dark Mustard
#A88905
ΔE00 2.99
Baby Poop
#937C00
ΔE00 3.34
Yellowy Brown
#AE8B0C
ΔE00 4.06
Puke Brown
#947706
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8215 #15329F
analogous
#9F3D15 #9F8215 #779F15
triadic
#9F8215 #159F82 #82159F
tetradic
#9F8215 #159F3D #15329F #9F1577
square
#9F8215 #159F3D #15329F #9F1577
split-complementary
#9F8215 #15779F #3D159F
monochromatic
#332A07 #69560E #9F8215 #D5AE1C #E7C548
Accessibility & contrast
On white
3.70
#9F8215 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#9F8215 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8215
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8215 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8215 | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#99881E
Tritanopia (blue-blind)
#AD766F
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9f8215; /* rgb */ color: rgb(159, 130, 21); /* oklch */ color: oklch(61.7% 0.121 92.2);
Tailwind
colors: {
custom: {
50: '#c0a560',
500: '#9f8215',
950: '#000000',
},
}SCSS
$custom: #9f8215; $custom-light: #c0a560; $custom-dark: #000000;
JSON
{
"hex": "#9f8215",
"rgb": {
"r": 159,
"g": 130,
"b": 21
},
"hsl": {
"h": 47.391,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.61653,
"c": 0.12052,
"h": 92.2
},
"luminance": 0.2339
}Semantic roles & 50–950 ramp
primary
#9F8215
secondary
#4863C8
accent
#5DF335
background
#FCFAF5
surface
#F8F4EA
border
#D1CEC6
text
#130F05
muted
#827F79