#908F18#908F18
#908F18 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.1% C 0.130 H 109.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #908F18 |
|---|---|
| RGB | rgb(144, 143, 24) |
| HSL | hsl(60, 71%, 33%) |
| HSV | hsv(60, 83%, 56%) |
| CMYK | cmyk(0%, 0.7%, 83.3%, 43.5%) |
| CIE-LAB | lab(57.69, -13.05, 57.00) |
| CIE-LCH | lch(57.69, 58.47, 102.89°) |
| OKLab | oklab(63.08% -0.0425 0.1229) |
| OKLCH | oklch(63.08% 0.13 109.1) |
| XYZ | xyz(21.4898, 25.6409, 4.6812) |
| Luminance | 0.2564 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.65
Pea Soup
#929901
ΔE00 3.76
Baby Shit Green
#889717
ΔE00 4.43
Olive
#808000
ΔE00 5.54
Swamp Green
#748500
ΔE00 6.76
Vomit
#A2A415
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908F18 #181990
analogous
#905318 #908F18 #559018
triadic
#908F18 #18908F #8F1890
tetradic
#908F18 #189053 #181990 #901855
square
#908F18 #189053 #181990 #901855
split-complementary
#908F18 #185590 #531890
monochromatic
#272707 #5C5B0F #908F18 #C4C321 #E0DE43
Accessibility & contrast
On white
3.43
#908F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#908F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908F18
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908F18 | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#9D8C24
Tritanopia (blue-blind)
#9B857A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #908f18; /* rgb */ color: rgb(144, 143, 24); /* oklch */ color: oklch(63.1% 0.130 109.1);
Tailwind
colors: {
custom: {
50: '#b4af62',
500: '#908f18',
950: '#000000',
},
}SCSS
$custom: #908f18; $custom-light: #b4af62; $custom-dark: #000000;
JSON
{
"hex": "#908f18",
"rgb": {
"r": 144,
"g": 143,
"b": 24
},
"hsl": {
"h": 59.5,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.63083,
"c": 0.1301,
"h": 109.1
},
"luminance": 0.2564
}Semantic roles & 50–950 ramp
primary
#908F18
secondary
#4344C0
accent
#3BEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A