#848318#848318
#848318 is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.2% C 0.121 H 109.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #848318 |
|---|---|
| RGB | rgb(132, 131, 24) |
| HSL | hsl(59, 69%, 31%) |
| HSV | hsv(59, 82%, 52%) |
| CMYK | cmyk(0%, 0.8%, 81.8%, 48.2%) |
| CIE-LAB | lab(53.17, -12.11, 52.67) |
| CIE-LCH | lch(53.17, 54.04, 102.95°) |
| OKLab | oklab(59.22% -0.0393 0.1142) |
| OKLCH | oklch(59.22% 0.121 109) |
| XYZ | xyz(17.7976, 21.2047, 4.0194) |
| Luminance | 0.2120 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.73
Shit Green
#758000
ΔE00 3.87
Swamp Green
#748500
ΔE00 4.76
Poop Green
#6F7C00
ΔE00 5.34
Murky Green
#6C7A0E
ΔE00 6.28
Drab
#828344
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#848318 #181984
analogous
#844D18 #848318 #4F8418
triadic
#848318 #188483 #831884
tetradic
#848318 #18844D #181984 #84184F
square
#848318 #18844D #181984 #84184F
split-complementary
#848318 #184F84 #4D1884
monochromatic
#1C1C05 #50500F #848318 #B8B621 #DBDA3B
Accessibility & contrast
On white
4.01
#848318 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#848318 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #848318
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##848318 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##848318 | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#8E7A70
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #848318; /* rgb */ color: rgb(132, 131, 24); /* oklch */ color: oklch(59.2% 0.121 109.0);
Tailwind
colors: {
custom: {
50: '#aba660',
500: '#848318',
950: '#000000',
},
}SCSS
$custom: #848318; $custom-light: #aba660; $custom-dark: #000000;
JSON
{
"hex": "#848318",
"rgb": {
"r": 132,
"g": 131,
"b": 24
},
"hsl": {
"h": 59.444,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.59217,
"c": 0.12075,
"h": 109
},
"luminance": 0.21204
}Semantic roles & 50–950 ramp
primary
#848318
secondary
#4041B8
accent
#3DEC3C
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F05
muted
#807F7A