#9D831E#9D831E
#9D831E is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.7% C 0.117 H 93.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9D831E |
|---|---|
| RGB | rgb(157, 131, 30) |
| HSL | hsl(48, 68%, 37%) |
| HSV | hsv(48, 81%, 62%) |
| CMYK | cmyk(0%, 16.6%, 80.9%, 38.4%) |
| CIE-LAB | lab(55.58, -0.35, 53.80) |
| CIE-LCH | lch(55.58, 53.80, 90.37°) |
| OKLab | oklab(61.7% -0.0071 0.1166) |
| OKLCH | oklch(61.7% 0.117 93.5) |
| XYZ | xyz(22.2565, 23.4958, 4.5909) |
| Luminance | 0.2349 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 1.82
Baby Poop
#937C00
ΔE00 3.29
Dark Mustard
#A88905
ΔE00 3.47
Yellowish Brown
#9B7A01
ΔE00 3.68
Puke Brown
#947706
ΔE00 4.41
Yellowy Brown
#AE8B0C
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D831E #1E389D
analogous
#9D441E #9D831E #779D1E
triadic
#9D831E #1E9D83 #831E9D
tetradic
#9D831E #1E9D44 #1E389D #9D1E77
square
#9D831E #1E9D44 #1E389D #9D1E77
split-complementary
#9D831E #1E779D #441E9D
monochromatic
#362D0A #6A5814 #9D831E #D0AE28 #DFC357
Accessibility & contrast
On white
3.68
#9D831E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#9D831E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D831E
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D831E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D831E | 1.00 | 3.68 | 5.70 | 5.70 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928105
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#AA7870
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9d831e; /* rgb */ color: rgb(157, 131, 30); /* oklch */ color: oklch(61.7% 0.117 93.5);
Tailwind
colors: {
custom: {
50: '#bea663',
500: '#9d831e',
950: '#000000',
},
}SCSS
$custom: #9d831e; $custom-light: #bea663; $custom-dark: #000000;
JSON
{
"hex": "#9d831e",
"rgb": {
"r": 157,
"g": 131,
"b": 30
},
"hsl": {
"h": 47.717,
"s": 67.914,
"l": 36.667
},
"oklch": {
"l": 0.61702,
"c": 0.11681,
"h": 93.5
},
"luminance": 0.23494
}Semantic roles & 50–950 ramp
primary
#9D831E
secondary
#546BC2
accent
#61EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A