#848418#848418
#848418 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.5% C 0.122 H 109.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #848418 |
|---|---|
| RGB | rgb(132, 132, 24) |
| HSL | hsl(60, 69%, 31%) |
| HSV | hsv(60, 82%, 52%) |
| CMYK | cmyk(0%, 0%, 81.8%, 48.2%) |
| CIE-LAB | lab(53.47, -12.65, 52.93) |
| CIE-LCH | lch(53.47, 54.42, 103.44°) |
| OKLab | oklab(59.45% -0.0408 0.1147) |
| OKLCH | oklch(59.45% 0.122 109.6) |
| XYZ | xyz(17.9325, 21.4746, 4.0644) |
| Luminance | 0.2147 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.92
Shit Green
#758000
ΔE00 3.80
Swamp Green
#748500
ΔE00 4.52
Poop Green
#6F7C00
ΔE00 5.36
Murky Green
#6C7A0E
ΔE00 6.33
Drab
#828344
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#848418 #181884
analogous
#844E18 #848418 #4E8418
triadic
#848418 #188484 #841884
tetradic
#848418 #18844E #181884 #84184E
square
#848418 #18844E #181884 #84184E
split-complementary
#848418 #184E84 #4E1884
monochromatic
#1C1C05 #50500F #848418 #B8B821 #DBDB3B
Accessibility & contrast
On white
3.97
#848418 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#848418 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #848418
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##848418 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##848418 | 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)
#8F7E00
Deuteranopia (green-blind)
#918122
Tritanopia (blue-blind)
#8E7B70
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #848418; /* rgb */ color: rgb(132, 132, 24); /* oklch */ color: oklch(59.5% 0.122 109.6);
Tailwind
colors: {
custom: {
50: '#aba760',
500: '#848418',
950: '#000000',
},
}SCSS
$custom: #848418; $custom-light: #aba760; $custom-dark: #000000;
JSON
{
"hex": "#848418",
"rgb": {
"r": 132,
"g": 132,
"b": 24
},
"hsl": {
"h": 60,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.59451,
"c": 0.12176,
"h": 109.6
},
"luminance": 0.21474
}Semantic roles & 50–950 ramp
primary
#848418
secondary
#4040B8
accent
#3CEC3C
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F05
muted
#807F7A