#908222#908222
#908222 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.113 H 100.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #908222 |
|---|---|
| RGB | rgb(144, 130, 34) |
| HSL | hsl(52, 62%, 35%) |
| HSV | hsv(52, 76%, 56%) |
| CMYK | cmyk(0%, 9.7%, 76.4%, 43.5%) |
| CIE-LAB | lab(54.04, -5.62, 50.50) |
| CIE-LCH | lch(54.04, 50.81, 96.35°) |
| OKLab | oklab(60.19% -0.0209 0.111) |
| OKLCH | oklch(60.19% 0.113 100.7) |
| XYZ | xyz(19.7739, 22.0110, 4.7200) |
| Luminance | 0.2201 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.81
Olive
#808000
ΔE00 4.91
Diarrhea
#9F8303
ΔE00 5.05
Hazel
#8E7618
ΔE00 5.08
Puke Brown
#947706
ΔE00 5.82
Yellowish Brown
#9B7A01
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908222 #223090
analogous
#904B22 #908222 #679022
triadic
#908222 #229082 #822290
tetradic
#908222 #22904B #223090 #902267
square
#908222 #22904B #223090 #902267
split-complementary
#908222 #226790 #4B2290
monochromatic
#2D290B #5E5516 #908222 #C2AF2E #D7C655
Accessibility & contrast
On white
3.89
#908222 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#908222 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908222
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908222 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908222 | 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)
#8F7E10
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#9C7870
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #908222; /* rgb */ color: rgb(144, 130, 34); /* oklch */ color: oklch(60.2% 0.113 100.7);
Tailwind
colors: {
custom: {
50: '#b4a665',
500: '#908222',
950: '#000000',
},
}SCSS
$custom: #908222; $custom-light: #b4a665; $custom-dark: #000000;
JSON
{
"hex": "#908222",
"rgb": {
"r": 144,
"g": 130,
"b": 34
},
"hsl": {
"h": 52.364,
"s": 61.798,
"l": 34.902
},
"oklch": {
"l": 0.60187,
"c": 0.11294,
"h": 100.7
},
"luminance": 0.2201
}Semantic roles & 50–950 ramp
primary
#908222
secondary
#5360BB
accent
#58E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A