#908221#908221
#908221 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.114 H 100.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #908221 |
|---|---|
| RGB | rgb(144, 130, 33) |
| HSL | hsl(52, 63%, 35%) |
| HSV | hsv(52, 77%, 56%) |
| CMYK | cmyk(0%, 9.7%, 77.1%, 43.5%) |
| CIE-LAB | lab(54.03, -5.67, 50.86) |
| CIE-LCH | lch(54.03, 51.18, 96.36°) |
| OKLab | oklab(60.18% -0.0211 0.1116) |
| OKLCH | oklch(60.18% 0.114 100.7) |
| XYZ | xyz(19.7597, 22.0053, 4.6452) |
| Luminance | 0.2200 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.75
Olive
#808000
ΔE00 4.87
Diarrhea
#9F8303
ΔE00 5.00
Hazel
#8E7618
ΔE00 5.08
Puke Brown
#947706
ΔE00 5.80
Yellowish Brown
#9B7A01
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908221 #212F90
analogous
#904A21 #908221 #679021
triadic
#908221 #219082 #822190
tetradic
#908221 #21904A #212F90 #902167
square
#908221 #21904A #212F90 #902167
split-complementary
#908221 #216790 #4A2190
monochromatic
#2C280A #5E5516 #908221 #C2AF2C #D8C754
Accessibility & contrast
On white
3.89
#908221 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#908221 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908221
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908221 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908221 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E0D
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#9C786F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #908221; /* rgb */ color: rgb(144, 130, 33); /* oklch */ color: oklch(60.2% 0.114 100.7);
Tailwind
colors: {
custom: {
50: '#b4a664',
500: '#908221',
950: '#000000',
},
}SCSS
$custom: #908221; $custom-light: #b4a664; $custom-dark: #000000;
JSON
{
"hex": "#908221",
"rgb": {
"r": 144,
"g": 130,
"b": 33
},
"hsl": {
"h": 52.432,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.60181,
"c": 0.11354,
"h": 100.7
},
"luminance": 0.22004
}Semantic roles & 50–950 ramp
primary
#908221
secondary
#515FBB
accent
#57E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A