#908318#908318
#908318 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.4% C 0.119 H 101.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #908318 |
|---|---|
| RGB | rgb(144, 131, 24) |
| HSL | hsl(54, 71%, 33%) |
| HSV | hsv(54, 83%, 56%) |
| CMYK | cmyk(0%, 9%, 83.3%, 43.5%) |
| CIE-LAB | lab(54.27, -6.56, 54.05) |
| CIE-LCH | lch(54.27, 54.45, 96.92°) |
| OKLab | oklab(60.35% -0.0245 0.1166) |
| OKLCH | oklch(60.35% 0.119 101.9) |
| XYZ | xyz(19.7837, 22.2288, 4.1125) |
| Luminance | 0.2223 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.80
Olive
#808000
ΔE00 4.44
Diarrhea
#9F8303
ΔE00 4.90
Hazel
#8E7618
ΔE00 5.65
Puke Brown
#947706
ΔE00 6.15
Dark Mustard
#A88905
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#908318 #182590
analogous
#904718 #908318 #619018
triadic
#908318 #189083 #831890
tetradic
#908318 #189047 #182590 #901861
square
#908318 #189047 #182590 #901861
split-complementary
#908318 #186190 #471890
monochromatic
#272407 #5C530F #908318 #C4B321 #E0CF43
Accessibility & contrast
On white
3.86
#908318 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#908318 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #908318
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##908318 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##908318 | 1.00 | 3.86 | 5.45 | 5.45 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#948421
Tritanopia (blue-blind)
#9C7970
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #908318; /* rgb */ color: rgb(144, 131, 24); /* oklch */ color: oklch(60.4% 0.119 101.9);
Tailwind
colors: {
custom: {
50: '#b4a660',
500: '#908318',
950: '#000000',
},
}SCSS
$custom: #908318; $custom-light: #b4a660; $custom-dark: #000000;
JSON
{
"hex": "#908318",
"rgb": {
"r": 144,
"g": 131,
"b": 24
},
"hsl": {
"h": 53.5,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.60354,
"c": 0.11909,
"h": 101.9
},
"luminance": 0.22228
}Semantic roles & 50–950 ramp
primary
#908318
secondary
#4351C0
accent
#4DEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A