#9D8623#9D8623
#9D8623 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.4% C 0.116 H 95.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9D8623 |
|---|---|
| RGB | rgb(157, 134, 35) |
| HSL | hsl(49, 64%, 38%) |
| HSV | hsv(49, 78%, 62%) |
| CMYK | cmyk(0%, 14.6%, 77.7%, 38.4%) |
| CIE-LAB | lab(56.43, -1.81, 52.83) |
| CIE-LCH | lch(56.43, 52.86, 91.97°) |
| OKLab | oklab(62.38% -0.0107 0.1156) |
| OKLCH | oklch(62.38% 0.116 95.3) |
| XYZ | xyz(22.7343, 24.3409, 5.0906) |
| Luminance | 0.2434 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.52
Dark Mustard
#A88905
ΔE00 3.57
Baby Poop
#937C00
ΔE00 4.00
Yellowy Brown
#AE8B0C
ΔE00 4.72
Baby Poo
#AB9004
ΔE00 4.77
Baby Shit Brown
#AD900D
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D8623 #233A9D
analogous
#9D4923 #9D8623 #779D23
triadic
#9D8623 #239D86 #86239D
tetradic
#9D8623 #239D49 #233A9D #9D2377
square
#9D8623 #239D49 #233A9D #9D2377
split-complementary
#9D8623 #23779D #49239D
monochromatic
#39310D #6B5B18 #9D8623 #CFB12E #DBC45F
Accessibility & contrast
On white
3.58
#9D8623 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#9D8623 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D8623
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D8623 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D8623 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95830F
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#AA7B73
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9d8623; /* rgb */ color: rgb(157, 134, 35); /* oklch */ color: oklch(62.4% 0.116 95.3);
Tailwind
colors: {
custom: {
50: '#bea866',
500: '#9d8623',
950: '#000000',
},
}SCSS
$custom: #9d8623; $custom-light: #bea866; $custom-dark: #000000;
JSON
{
"hex": "#9d8623",
"rgb": {
"r": 157,
"g": 134,
"b": 35
},
"hsl": {
"h": 48.689,
"s": 63.542,
"l": 37.647
},
"oklch": {
"l": 0.62381,
"c": 0.11607,
"h": 95.3
},
"luminance": 0.2434
}Semantic roles & 50–950 ramp
primary
#9D8623
secondary
#5C6FC0
accent
#60E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A