#908028#908028
#908028 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.8% C 0.107 H 98.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #908028 |
|---|---|
| RGB | rgb(144, 128, 40) |
| HSL | hsl(51, 57%, 36%) |
| HSV | hsv(51, 72%, 56%) |
| CMYK | cmyk(0%, 11.1%, 72.2%, 43.5%) |
| CIE-LAB | lab(53.52, -4.21, 47.63) |
| CIE-LCH | lch(53.52, 47.81, 95.06°) |
| OKLab | oklab(59.79% -0.0162 0.1061) |
| OKLCH | oklch(59.79% 0.107 98.7) |
| XYZ | xyz(19.6047, 21.5218, 5.1285) |
| Luminance | 0.2152 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.74
Hazel
#8E7618
ΔE00 4.24
Diarrhea
#9F8303
ΔE00 5.20
Puke Brown
#947706
ΔE00 5.22
Olive
#808000
ΔE00 5.75
Yellowish Brown
#9B7A01
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908028 #283890
analogous
#904C28 #908028 #6C9028
triadic
#908028 #289080 #802890
tetradic
#908028 #28904C #283890 #90286C
square
#908028 #28904C #283890 #90286C
split-complementary
#908028 #286C90 #4C2890
monochromatic
#302B0D #60551B #908028 #C0AB35 #D3C160
Accessibility & contrast
On white
3.96
#908028 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#908028 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908028
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908028 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908028 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D1B
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#9B766E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #908028; /* rgb */ color: rgb(144, 128, 40); /* oklch */ color: oklch(59.8% 0.107 98.7);
Tailwind
colors: {
custom: {
50: '#b4a468',
500: '#908028',
950: '#000000',
},
}SCSS
$custom: #908028; $custom-light: #b4a468; $custom-dark: #000000;
JSON
{
"hex": "#908028",
"rgb": {
"r": 144,
"g": 128,
"b": 40
},
"hsl": {
"h": 50.769,
"s": 56.522,
"l": 36.078
},
"oklch": {
"l": 0.59786,
"c": 0.10732,
"h": 98.7
},
"luminance": 0.21521
}Semantic roles & 50–950 ramp
primary
#908028
secondary
#5C6AB8
accent
#5FE048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A