#908918#908918
#908918 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.124 H 105.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #908918 |
|---|---|
| RGB | rgb(144, 137, 24) |
| HSL | hsl(57, 71%, 33%) |
| HSV | hsv(57, 83%, 56%) |
| CMYK | cmyk(0%, 4.9%, 83.3%, 43.5%) |
| CIE-LAB | lab(55.97, -9.83, 55.52) |
| CIE-LCH | lch(55.97, 56.38, 100.04°) |
| OKLab | oklab(61.71% -0.0336 0.1197) |
| OKLCH | oklch(61.71% 0.124 105.7) |
| XYZ | xyz(20.6130, 23.8874, 4.3889) |
| Luminance | 0.2389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.34
Baby Poop Green
#8F9805
ΔE00 6.04
Pea Soup
#929901
ΔE00 6.10
Baby Poop
#937C00
ΔE00 6.21
Diarrhea
#9F8303
ΔE00 6.54
Baby Shit Green
#889717
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908918 #181F90
analogous
#904D18 #908918 #5B9018
triadic
#908918 #189089 #891890
tetradic
#908918 #18904D #181F90 #90185B
square
#908918 #18904D #181F90 #90185B
split-complementary
#908918 #185B90 #4D1890
monochromatic
#272507 #5C570F #908918 #C4BB21 #E0D643
Accessibility & contrast
On white
3.63
#908918 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#908918 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908918
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908918 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908918 | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#988822
Tritanopia (blue-blind)
#9B7F75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #908918; /* rgb */ color: rgb(144, 137, 24); /* oklch */ color: oklch(61.7% 0.124 105.7);
Tailwind
colors: {
custom: {
50: '#b4ab61',
500: '#908918',
950: '#000000',
},
}SCSS
$custom: #908918; $custom-light: #b4ab61; $custom-dark: #000000;
JSON
{
"hex": "#908918",
"rgb": {
"r": 144,
"g": 137,
"b": 24
},
"hsl": {
"h": 56.5,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.61711,
"c": 0.12437,
"h": 105.7
},
"luminance": 0.23887
}Semantic roles & 50–950 ramp
primary
#908918
secondary
#434BC0
accent
#44EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A