#917828#917828
#917828 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.1% C 0.102 H 91.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #917828 |
|---|---|
| RGB | rgb(145, 120, 40) |
| HSL | hsl(46, 57%, 36%) |
| HSV | hsv(46, 72%, 57%) |
| CMYK | cmyk(0%, 17.2%, 72.4%, 43.1%) |
| CIE-LAB | lab(51.39, 0.73, 45.52) |
| CIE-LCH | lch(51.39, 45.53, 89.08°) |
| OKLab | oklab(58.13% -0.0022 0.1016) |
| OKLCH | oklch(58.13% 0.102 91.2) |
| XYZ | xyz(18.7775, 19.6070, 4.8026) |
| Luminance | 0.1961 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.00
Puke Brown
#947706
ΔE00 3.21
Poo
#8F7303
ΔE00 3.44
Baby Poop
#937C00
ΔE00 4.24
Yellowish Brown
#9B7A01
ΔE00 4.32
Diarrhea
#9F8303
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#917828 #284191
analogous
#914428 #917828 #769128
triadic
#917828 #289178 #782891
tetradic
#917828 #289144 #284191 #912876
square
#917828 #289144 #284191 #912876
split-complementary
#917828 #287691 #442891
monochromatic
#31290E #61501B #917828 #C1A035 #D3B860
Accessibility & contrast
On white
4.27
#917828 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#917828 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #917828
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##917828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##917828 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#8C7D2C
Tritanopia (blue-blind)
#9D6E68
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #917828; /* rgb */ color: rgb(145, 120, 40); /* oklch */ color: oklch(58.1% 0.102 91.2);
Tailwind
colors: {
custom: {
50: '#b59e67',
500: '#917828',
950: '#000000',
},
}SCSS
$custom: #917828; $custom-light: #b59e67; $custom-dark: #000000;
JSON
{
"hex": "#917828",
"rgb": {
"r": 145,
"g": 120,
"b": 40
},
"hsl": {
"h": 45.714,
"s": 56.757,
"l": 36.275
},
"oklch": {
"l": 0.58128,
"c": 0.10162,
"h": 91.2
},
"luminance": 0.19606
}Semantic roles & 50–950 ramp
primary
#917828
secondary
#5C72B9
accent
#6CE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A