#908228#908228
#908228 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.109 H 100.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #908228 |
|---|---|
| RGB | rgb(144, 130, 40) |
| HSL | hsl(52, 57%, 36%) |
| HSV | hsv(52, 72%, 56%) |
| CMYK | cmyk(0%, 9.7%, 72.2%, 43.5%) |
| CIE-LAB | lab(54.08, -5.32, 48.19) |
| CIE-LCH | lch(54.08, 48.48, 96.30°) |
| OKLab | oklab(60.23% -0.0194 0.1073) |
| OKLCH | oklch(60.23% 0.109 100.2) |
| XYZ | xyz(19.8681, 22.0487, 5.2164) |
| Luminance | 0.2205 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.21
Hazel
#8E7618
ΔE00 5.09
Olive
#808000
ΔE00 5.26
Diarrhea
#9F8303
ΔE00 5.39
Puke Brown
#947706
ΔE00 5.98
Yellowish Brown
#9B7A01
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908228 #283690
analogous
#904E28 #908228 #6A9028
triadic
#908228 #289082 #822890
tetradic
#908228 #28904E #283690 #90286A
square
#908228 #28904E #283690 #90286A
split-complementary
#908228 #286A90 #4E2890
monochromatic
#302C0D #60571B #908228 #C0AD35 #D3C360
Accessibility & contrast
On white
3.88
#908228 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#908228 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908228
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908228 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908228 | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E1A
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#9B7870
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #908228; /* rgb */ color: rgb(144, 130, 40); /* oklch */ color: oklch(60.2% 0.109 100.2);
Tailwind
colors: {
custom: {
50: '#b4a668',
500: '#908228',
950: '#000000',
},
}SCSS
$custom: #908228; $custom-light: #b4a668; $custom-dark: #000000;
JSON
{
"hex": "#908228",
"rgb": {
"r": 144,
"g": 130,
"b": 40
},
"hsl": {
"h": 51.923,
"s": 56.522,
"l": 36.078
},
"oklch": {
"l": 0.60232,
"c": 0.10901,
"h": 100.2
},
"luminance": 0.22048
}Semantic roles & 50–950 ramp
primary
#908228
secondary
#5C68B8
accent
#5CE048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A