#868B16#868B16
#868B16 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.3% C 0.129 H 112.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #868B16 |
|---|---|
| RGB | rgb(134, 139, 22) |
| HSL | hsl(63, 73%, 32%) |
| HSV | hsv(63, 84%, 55%) |
| CMYK | cmyk(3.6%, 0%, 84.2%, 45.5%) |
| CIE-LAB | lab(55.68, -15.53, 55.47) |
| CIE-LCH | lch(55.68, 57.60, 105.64°) |
| OKLab | oklab(61.26% -0.0491 0.1197) |
| OKLCH | oklch(61.26% 0.129 112.3) |
| XYZ | xyz(19.2096, 23.5920, 4.3007) |
| Luminance | 0.2359 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.04
Baby Shit Green
#889717
ΔE00 4.28
Swamp Green
#748500
ΔE00 4.29
Baby Poop Green
#8F9805
ΔE00 4.59
Shit Green
#758000
ΔE00 4.80
Pea Soup
#929901
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#868B16 #1B168B
analogous
#8B5616 #868B16 #4C8B16
triadic
#868B16 #16868B #8B1686
tetradic
#868B16 #168B56 #1B168B #8B164C
square
#868B16 #168B56 #1B168B #8B164C
split-complementary
#868B16 #164C8B #56168B
monochromatic
#202105 #53560E #868B16 #B9C01E #D9E03B
Accessibility & contrast
On white
3.67
#868B16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#868B16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #868B16
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##868B16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##868B16 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#908276
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #868b16; /* rgb */ color: rgb(134, 139, 22); /* oklch */ color: oklch(61.3% 0.129 112.3);
Tailwind
colors: {
custom: {
50: '#adac61',
500: '#868b16',
950: '#000000',
},
}SCSS
$custom: #868b16; $custom-light: #adac61; $custom-dark: #000000;
JSON
{
"hex": "#868b16",
"rgb": {
"r": 134,
"g": 139,
"b": 22
},
"hsl": {
"h": 62.564,
"s": 72.671,
"l": 31.569
},
"oklch": {
"l": 0.61259,
"c": 0.1294,
"h": 112.3
},
"luminance": 0.23591
}Semantic roles & 50–950 ramp
primary
#868B16
secondary
#443EBF
accent
#38EF40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A