#917822#917822
#917822 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.1% C 0.106 H 92.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #917822 |
|---|---|
| RGB | rgb(145, 120, 34) |
| HSL | hsl(46, 62%, 35%) |
| HSV | hsv(46, 77%, 57%) |
| CMYK | cmyk(0%, 17.2%, 76.6%, 43.1%) |
| CIE-LAB | lab(51.35, 0.43, 47.97) |
| CIE-LCH | lch(51.35, 47.98, 89.48°) |
| OKLab | oklab(58.08% -0.0037 0.1056) |
| OKLCH | oklch(58.08% 0.106 92) |
| XYZ | xyz(18.6833, 19.5693, 4.3062) |
| Luminance | 0.1957 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.32
Puke Brown
#947706
ΔE00 2.49
Poo
#8F7303
ΔE00 2.82
Baby Poop
#937C00
ΔE00 3.49
Yellowish Brown
#9B7A01
ΔE00 3.76
Diarrhea
#9F8303
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#917822 #223B91
analogous
#914022 #917822 #739122
triadic
#917822 #229178 #782291
tetradic
#917822 #229140 #223B91 #912273
square
#917822 #229140 #223B91 #912273
split-complementary
#917822 #227391 #402291
monochromatic
#2E260B #5F4F16 #917822 #C3A12E #D7BA56
Accessibility & contrast
On white
4.27
#917822 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#917822 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #917822
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##917822 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##917822 | 1.00 | 4.27 | 4.91 | 4.91 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867613
Deuteranopia (green-blind)
#8C7D27
Tritanopia (blue-blind)
#9D6E67
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #917822; /* rgb */ color: rgb(145, 120, 34); /* oklch */ color: oklch(58.1% 0.106 92.0);
Tailwind
colors: {
custom: {
50: '#b59e64',
500: '#917822',
950: '#000000',
},
}SCSS
$custom: #917822; $custom-light: #b59e64; $custom-dark: #000000;
JSON
{
"hex": "#917822",
"rgb": {
"r": 145,
"g": 120,
"b": 34
},
"hsl": {
"h": 46.486,
"s": 62.011,
"l": 35.098
},
"oklch": {
"l": 0.5808,
"c": 0.10565,
"h": 92
},
"luminance": 0.19568
}Semantic roles & 50–950 ramp
primary
#917822
secondary
#536BBB
accent
#67E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A