#908018#908018
#908018 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.7% C 0.117 H 99.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #908018 |
|---|---|
| RGB | rgb(144, 128, 24) |
| HSL | hsl(52, 71%, 33%) |
| HSV | hsv(52, 83%, 56%) |
| CMYK | cmyk(0%, 11.1%, 83.3%, 43.5%) |
| CIE-LAB | lab(53.42, -4.91, 53.32) |
| CIE-LCH | lch(53.42, 53.54, 95.26°) |
| OKLab | oklab(59.68% -0.0198 0.115) |
| OKLCH | oklch(59.68% 0.117 99.8) |
| XYZ | xyz(19.3866, 21.4346, 3.9801) |
| Luminance | 0.2143 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 2.68
Hazel
#8E7618
ΔE00 4.33
Diarrhea
#9F8303
ΔE00 4.41
Puke Brown
#947706
ΔE00 4.87
Olive
#808000
ΔE00 5.06
Yellowish Brown
#9B7A01
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908018 #182890
analogous
#904418 #908018 #649018
triadic
#908018 #189080 #801890
tetradic
#908018 #189044 #182890 #901864
square
#908018 #189044 #182890 #901864
split-complementary
#908018 #186490 #441890
monochromatic
#272307 #5C510F #908018 #C4AF21 #E0CB43
Accessibility & contrast
On white
3.97
#908018 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#908018 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908018
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908018 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908018 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#928220
Tritanopia (blue-blind)
#9C766D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #908018; /* rgb */ color: rgb(144, 128, 24); /* oklch */ color: oklch(59.7% 0.117 99.8);
Tailwind
colors: {
custom: {
50: '#b4a460',
500: '#908018',
950: '#000000',
},
}SCSS
$custom: #908018; $custom-light: #b4a460; $custom-dark: #000000;
JSON
{
"hex": "#908018",
"rgb": {
"r": 144,
"g": 128,
"b": 24
},
"hsl": {
"h": 52,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.59681,
"c": 0.11666,
"h": 99.8
},
"luminance": 0.21434
}Semantic roles & 50–950 ramp
primary
#908018
secondary
#4354C0
accent
#52EE3A
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#120F05
muted
#817F79