#9F8723#9F8723
#9F8723 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.8% C 0.117 H 94.8°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8723 |
|---|---|
| RGB | rgb(159, 135, 35) |
| HSL | hsl(48, 64%, 38%) |
| HSV | hsv(48, 78%, 62%) |
| CMYK | cmyk(0%, 15.1%, 78%, 37.6%) |
| CIE-LAB | lab(56.90, -1.45, 53.34) |
| CIE-LCH | lch(56.90, 53.36, 91.56°) |
| OKLab | oklab(62.8% -0.0098 0.1166) |
| OKLCH | oklch(62.8% 0.117 94.8) |
| XYZ | xyz(23.2667, 24.8216, 5.1553) |
| Luminance | 0.2482 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.44
Dark Mustard
#A88905
ΔE00 3.14
Yellowy Brown
#AE8B0C
ΔE00 4.24
Baby Poo
#AB9004
ΔE00 4.33
Baby Shit Brown
#AD900D
ΔE00 4.33
Baby Poop
#937C00
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8723 #233B9F
analogous
#9F4923 #9F8723 #799F23
triadic
#9F8723 #239F87 #87239F
tetradic
#9F8723 #239F49 #233B9F #9F2379
square
#9F8723 #239F49 #233B9F #9F2379
split-complementary
#9F8723 #23799F #49239F
monochromatic
#3B320D #6D5C18 #9F8723 #D1B22E #DCC460
Accessibility & contrast
On white
3.52
#9F8723 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#9F8723 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F8723
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8723 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8723 | 1.00 | 3.52 | 5.96 | 5.96 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96840F
Deuteranopia (green-blind)
#9C8C29
Tritanopia (blue-blind)
#AC7C74
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9f8723; /* rgb */ color: rgb(159, 135, 35); /* oklch */ color: oklch(62.8% 0.117 94.8);
Tailwind
colors: {
custom: {
50: '#bfa966',
500: '#9f8723',
950: '#000000',
},
}SCSS
$custom: #9f8723; $custom-light: #bfa966; $custom-dark: #000000;
JSON
{
"hex": "#9f8723",
"rgb": {
"r": 159,
"g": 135,
"b": 35
},
"hsl": {
"h": 48.387,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.62802,
"c": 0.11698,
"h": 94.8
},
"luminance": 0.2482
}Semantic roles & 50–950 ramp
primary
#9F8723
secondary
#5D70C1
accent
#61E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A