#9C822F#9C822F
#9C822F is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.5% C 0.105 H 91.4°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9C822F |
|---|---|
| RGB | rgb(156, 130, 47) |
| HSL | hsl(46, 54%, 40%) |
| HSV | hsv(46, 70%, 61%) |
| CMYK | cmyk(0%, 16.7%, 69.9%, 38.8%) |
| CIE-LAB | lab(55.32, 0.55, 46.84) |
| CIE-LCH | lch(55.32, 46.84, 89.33°) |
| OKLab | oklab(61.51% -0.0025 0.1053) |
| OKLCH | oklch(61.51% 0.105 91.4) |
| XYZ | xyz(22.2072, 23.2397, 6.0048) |
| Luminance | 0.2324 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.98
Yellowish Brown
#9B7A01
ΔE00 4.44
Baby Poop
#937C00
ΔE00 4.53
Puke Brown
#947706
ΔE00 4.84
Hazel
#8E7618
ΔE00 4.96
Dark Mustard
#A88905
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C822F #2F499C
analogous
#9C4B2F #9C822F #809C2F
triadic
#9C822F #2F9C82 #822F9C
tetradic
#9C822F #2F9C4B #2F499C #9C2F80
square
#9C822F #2F9C4B #2F499C #9C2F80
split-complementary
#9C822F #2F809C #4B2F9C
monochromatic
#3E3413 #6D5B21 #9C822F #C6A742 #D4BD71
Accessibility & contrast
On white
3.72
#9C822F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#9C822F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C822F
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C822F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C822F | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908024
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#A97771
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9c822f; /* rgb */ color: rgb(156, 130, 47); /* oklch */ color: oklch(61.5% 0.105 91.4);
Tailwind
colors: {
custom: {
50: '#bda66c',
500: '#9c822f',
950: '#000000',
},
}SCSS
$custom: #9c822f; $custom-light: #bda66c; $custom-dark: #000000;
JSON
{
"hex": "#9c822f",
"rgb": {
"r": 156,
"g": 130,
"b": 47
},
"hsl": {
"h": 45.688,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.61508,
"c": 0.10529,
"h": 91.4
},
"luminance": 0.23238
}Semantic roles & 50–950 ramp
primary
#9C822F
secondary
#6B7EBC
accent
#6EDD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A