#838518#838518
#838518 is a mid, vivid yellow. Relative luminance 0.217; OKLCH L 59.6% C 0.123 H 110.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #838518 |
|---|---|
| RGB | rgb(131, 133, 24) |
| HSL | hsl(61, 69%, 31%) |
| HSV | hsv(61, 82%, 52%) |
| CMYK | cmyk(1.5%, 0%, 82%, 47.8%) |
| CIE-LAB | lab(53.67, -13.64, 53.07) |
| CIE-LCH | lch(53.67, 54.80, 104.41°) |
| OKLab | oklab(59.6% -0.0435 0.1151) |
| OKLCH | oklch(59.6% 0.123 110.7) |
| XYZ | xyz(17.9131, 21.6668, 4.1025) |
| Luminance | 0.2167 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.20
Shit Green
#758000
ΔE00 3.54
Swamp Green
#748500
ΔE00 4.02
Poop Green
#6F7C00
ΔE00 5.19
Murky Green
#6C7A0E
ΔE00 6.18
Baby Shit Green
#889717
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#838518 #1A1885
analogous
#855018 #838518 #4C8518
triadic
#838518 #188385 #851883
tetradic
#838518 #188550 #1A1885 #85184C
square
#838518 #188550 #1A1885 #85184C
split-complementary
#838518 #184C85 #501885
monochromatic
#1D1D05 #50510F #838518 #B6B921 #D9DC3C
Accessibility & contrast
On white
3.94
#838518 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#838518 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #838518
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##838518 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##838518 | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#8D7C71
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #838518; /* rgb */ color: rgb(131, 133, 24); /* oklch */ color: oklch(59.6% 0.123 110.7);
Tailwind
colors: {
custom: {
50: '#aba860',
500: '#838518',
950: '#000000',
},
}SCSS
$custom: #838518; $custom-light: #aba860; $custom-dark: #000000;
JSON
{
"hex": "#838518",
"rgb": {
"r": 131,
"g": 133,
"b": 24
},
"hsl": {
"h": 61.101,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.59595,
"c": 0.12303,
"h": 110.7
},
"luminance": 0.21666
}Semantic roles & 50–950 ramp
primary
#838518
secondary
#4240B9
accent
#3CEC3F
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#100F05
muted
#7F7F7A