#937822#937822
#937822 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.3% C 0.106 H 90.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #937822 |
|---|---|
| RGB | rgb(147, 120, 34) |
| HSL | hsl(46, 62%, 35%) |
| HSV | hsv(46, 77%, 58%) |
| CMYK | cmyk(0%, 18.4%, 76.9%, 42.4%) |
| CIE-LAB | lab(51.56, 1.36, 48.25) |
| CIE-LCH | lch(51.56, 48.27, 88.38°) |
| OKLab | oklab(58.29% -0.0012 0.1061) |
| OKLCH | oklch(58.29% 0.106 90.6) |
| XYZ | xyz(19.0389, 19.7527, 4.3229) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 1.75
Puke Brown
#947706
ΔE00 2.32
Poo
#8F7303
ΔE00 2.82
Yellowish Brown
#9B7A01
ΔE00 3.37
Baby Poop
#937C00
ΔE00 3.69
Diarrhea
#9F8303
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#937822 #223D93
analogous
#934022 #937822 #759322
triadic
#937822 #229378 #782293
tetradic
#937822 #229340 #223D93 #932275
square
#937822 #229340 #223D93 #932275
split-complementary
#937822 #227593 #402293
monochromatic
#30270B #614F17 #937822 #C5A12D #D8B957
Accessibility & contrast
On white
4.24
#937822 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#937822 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #937822
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##937822 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##937822 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867613
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#9F6D67
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #937822; /* rgb */ color: rgb(147, 120, 34); /* oklch */ color: oklch(58.3% 0.106 90.6);
Tailwind
colors: {
custom: {
50: '#b79e64',
500: '#937822',
950: '#000000',
},
}SCSS
$custom: #937822; $custom-light: #b79e64; $custom-dark: #000000;
JSON
{
"hex": "#937822",
"rgb": {
"r": 147,
"g": 120,
"b": 34
},
"hsl": {
"h": 45.664,
"s": 62.431,
"l": 35.49
},
"oklch": {
"l": 0.58294,
"c": 0.10608,
"h": 90.6
},
"luminance": 0.19751
}Semantic roles & 50–950 ramp
primary
#937822
secondary
#556DBC
accent
#69E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A