#938221#938221
#938221 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.5% C 0.114 H 98.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #938221 |
|---|---|
| RGB | rgb(147, 130, 33) |
| HSL | hsl(51, 63%, 35%) |
| HSV | hsv(51, 78%, 58%) |
| CMYK | cmyk(0%, 11.6%, 77.6%, 42.4%) |
| CIE-LAB | lab(54.32, -4.28, 51.24) |
| CIE-LCH | lch(54.32, 51.41, 94.78°) |
| OKLab | oklab(60.48% -0.0174 0.1122) |
| OKLCH | oklch(60.48% 0.114 98.8) |
| XYZ | xyz(20.2908, 22.2791, 4.6701) |
| Luminance | 0.2228 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.18
Diarrhea
#9F8303
ΔE00 4.13
Hazel
#8E7618
ΔE00 4.70
Puke Brown
#947706
ΔE00 5.15
Yellowish Brown
#9B7A01
ΔE00 5.53
Olive
#808000
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#938221 #213293
analogous
#934921 #938221 #6B9321
triadic
#938221 #219382 #822193
tetradic
#938221 #219349 #213293 #93216B
square
#938221 #219349 #213293 #93216B
split-complementary
#938221 #216B93 #492193
monochromatic
#2F2A0B #615616 #938221 #C5AE2C #D9C555
Accessibility & contrast
On white
3.85
#938221 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#938221 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #938221
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##938221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##938221 | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F0D
Deuteranopia (green-blind)
#948428
Tritanopia (blue-blind)
#9F786F
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #938221; /* rgb */ color: rgb(147, 130, 33); /* oklch */ color: oklch(60.5% 0.114 98.8);
Tailwind
colors: {
custom: {
50: '#b6a664',
500: '#938221',
950: '#000000',
},
}SCSS
$custom: #938221; $custom-light: #b6a664; $custom-dark: #000000;
JSON
{
"hex": "#938221",
"rgb": {
"r": 147,
"g": 130,
"b": 33
},
"hsl": {
"h": 51.053,
"s": 63.333,
"l": 35.294
},
"oklch": {
"l": 0.60479,
"c": 0.11356,
"h": 98.8
},
"luminance": 0.22278
}Semantic roles & 50–950 ramp
primary
#938221
secondary
#5363BD
accent
#5AE641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A