#908818#908818
#908818 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.5% C 0.123 H 105.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #908818 |
|---|---|
| RGB | rgb(144, 136, 24) |
| HSL | hsl(56, 71%, 33%) |
| HSV | hsv(56, 83%, 56%) |
| CMYK | cmyk(0%, 5.6%, 83.3%, 43.5%) |
| CIE-LAB | lab(55.69, -9.29, 55.27) |
| CIE-LCH | lch(55.69, 56.05, 99.54°) |
| OKLab | oklab(61.48% -0.0321 0.1192) |
| OKLCH | oklch(61.48% 0.123 105.1) |
| XYZ | xyz(20.4716, 23.6044, 4.3417) |
| Luminance | 0.2360 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.24
Baby Poop
#937C00
ΔE00 5.80
Diarrhea
#9F8303
ΔE00 6.23
Baby Poop Green
#8F9805
ΔE00 6.46
Pea Soup
#929901
ΔE00 6.50
Shit Green
#758000
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908818 #182090
analogous
#904C18 #908818 #5C9018
triadic
#908818 #189088 #881890
tetradic
#908818 #18904C #182090 #90185C
square
#908818 #18904C #182090 #90185C
split-complementary
#908818 #185C90 #4C1890
monochromatic
#272507 #5C560F #908818 #C4BA21 #E0D543
Accessibility & contrast
On white
3.67
#908818 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#908818 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908818
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908818 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908818 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#988722
Tritanopia (blue-blind)
#9B7E74
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #908818; /* rgb */ color: rgb(144, 136, 24); /* oklch */ color: oklch(61.5% 0.123 105.1);
Tailwind
colors: {
custom: {
50: '#b4aa61',
500: '#908818',
950: '#000000',
},
}SCSS
$custom: #908818; $custom-light: #b4aa61; $custom-dark: #000000;
JSON
{
"hex": "#908818",
"rgb": {
"r": 144,
"g": 136,
"b": 24
},
"hsl": {
"h": 56,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.61484,
"c": 0.12346,
"h": 105.1
},
"luminance": 0.23604
}Semantic roles & 50–950 ramp
primary
#908818
secondary
#434CC0
accent
#46EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A