#9F8114#9F8114
#9F8114 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 61.4% C 0.120 H 91.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8114 |
|---|---|
| RGB | rgb(159, 129, 20) |
| HSL | hsl(47, 78%, 35%) |
| HSV | hsv(47, 87%, 62%) |
| CMYK | cmyk(0%, 18.9%, 87.4%, 37.6%) |
| CIE-LAB | lab(55.20, 1.38, 56.54) |
| CIE-LCH | lch(55.20, 56.56, 88.60°) |
| OKLab | oklab(61.43% -0.0031 0.1203) |
| OKLCH | oklch(61.43% 0.12 91.5) |
| XYZ | xyz(22.2760, 23.1234, 3.9517) |
| Luminance | 0.2312 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.47
Yellowish Brown
#9B7A01
ΔE00 2.58
Dark Mustard
#A88905
ΔE00 3.24
Baby Poop
#937C00
ΔE00 3.33
Puke Brown
#947706
ΔE00 3.83
Yellowy Brown
#AE8B0C
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8114 #14329F
analogous
#9F3B14 #9F8114 #789F14
triadic
#9F8114 #149F81 #81149F
tetradic
#9F8114 #149F3B #14329F #9F1478
square
#9F8114 #149F3B #14329F #9F1478
split-complementary
#9F8114 #14789F #3B149F
monochromatic
#322906 #69550D #9F8114 #D5AD1B #E8C546
Accessibility & contrast
On white
3.73
#9F8114 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#9F8114 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8114
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8114 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8114 | 1.00 | 3.73 | 5.62 | 5.62 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#98881D
Tritanopia (blue-blind)
#AD756E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9f8114; /* rgb */ color: rgb(159, 129, 20); /* oklch */ color: oklch(61.4% 0.120 91.5);
Tailwind
colors: {
custom: {
50: '#c0a55f',
500: '#9f8114',
950: '#000000',
},
}SCSS
$custom: #9f8114; $custom-light: #c0a55f; $custom-dark: #000000;
JSON
{
"hex": "#9f8114",
"rgb": {
"r": 159,
"g": 129,
"b": 20
},
"hsl": {
"h": 47.05,
"s": 77.654,
"l": 35.098
},
"oklch": {
"l": 0.61435,
"c": 0.12035,
"h": 91.5
},
"luminance": 0.23122
}Semantic roles & 50–950 ramp
primary
#9F8114
secondary
#4662C8
accent
#5DF434
background
#FCFAF5
surface
#F8F4EA
border
#D1CEC6
text
#130F05
muted
#827F79