#9F8124#9F8124
#9F8124 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.5% C 0.113 H 90.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8124 |
|---|---|
| RGB | rgb(159, 129, 36) |
| HSL | hsl(45, 63%, 38%) |
| HSV | hsv(45, 77%, 62%) |
| CMYK | cmyk(0%, 18.9%, 77.4%, 37.6%) |
| CIE-LAB | lab(55.28, 1.92, 51.45) |
| CIE-LCH | lch(55.28, 51.48, 87.86°) |
| OKLab | oklab(61.52% -0.0001 0.1128) |
| OKLCH | oklch(61.52% 0.113 90) |
| XYZ | xyz(22.4681, 23.2003, 4.9634) |
| Luminance | 0.2320 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.89
Yellowish Brown
#9B7A01
ΔE00 3.15
Baby Poop
#937C00
ΔE00 4.09
Puke Brown
#947706
ΔE00 4.12
Dark Mustard
#A88905
ΔE00 4.17
Yellowy Brown
#AE8B0C
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8124 #24429F
analogous
#9F4324 #9F8124 #7F9F24
triadic
#9F8124 #249F81 #81249F
tetradic
#9F8124 #249F43 #24429F #9F247F
square
#9F8124 #249F43 #24429F #9F247F
split-complementary
#9F8124 #247F9F #43249F
monochromatic
#3B300D #6D5919 #9F8124 #D0A930 #DBBE62
Accessibility & contrast
On white
3.72
#9F8124 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#9F8124 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8124
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8124 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8124 | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908013
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#AD766F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9f8124; /* rgb */ color: rgb(159, 129, 36); /* oklch */ color: oklch(61.5% 0.113 90.0);
Tailwind
colors: {
custom: {
50: '#bfa566',
500: '#9f8124',
950: '#000000',
},
}SCSS
$custom: #9f8124; $custom-light: #bfa566; $custom-dark: #000000;
JSON
{
"hex": "#9f8124",
"rgb": {
"r": 159,
"g": 129,
"b": 36
},
"hsl": {
"h": 45.366,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.61523,
"c": 0.11275,
"h": 90
},
"luminance": 0.23199
}Semantic roles & 50–950 ramp
primary
#9F8124
secondary
#5E76C1
accent
#6AE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A