#8C8F16#8C8F16
#8C8F16 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 62.7% C 0.132 H 111.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8F16 |
|---|---|
| RGB | rgb(140, 143, 22) |
| HSL | hsl(61, 73%, 32%) |
| HSV | hsv(61, 85%, 56%) |
| CMYK | cmyk(2.1%, 0%, 84.6%, 43.9%) |
| CIE-LAB | lab(57.35, -14.92, 57.09) |
| CIE-LCH | lch(57.35, 59.01, 104.65°) |
| OKLab | oklab(62.72% -0.0477 0.123) |
| OKLCH | oklch(62.72% 0.132 111.2) |
| XYZ | xyz(20.7833, 25.2789, 4.5434) |
| Luminance | 0.2528 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 3.24
Pea Soup
#929901
ΔE00 3.58
Baby Shit Green
#889717
ΔE00 3.59
Olive
#808000
ΔE00 5.34
Swamp Green
#748500
ΔE00 5.83
Ugly Green
#7A9703
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8F16 #19168F
analogous
#8F5616 #8C8F16 #4F8F16
triadic
#8C8F16 #168C8F #8F168C
tetradic
#8C8F16 #168F56 #19168F #8F164F
square
#8C8F16 #168F56 #19168F #8F164F
split-complementary
#8C8F16 #164F8F #56168F
monochromatic
#242506 #585A0E #8C8F16 #C0C41E #DDE13E
Accessibility & contrast
On white
3.47
#8C8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#8C8F16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8F16
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8F16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8F16 | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9C8B23
Tritanopia (blue-blind)
#96857A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8c8f16; /* rgb */ color: rgb(140, 143, 22); /* oklch */ color: oklch(62.7% 0.132 111.2);
Tailwind
colors: {
custom: {
50: '#b1af61',
500: '#8c8f16',
950: '#000000',
},
}SCSS
$custom: #8c8f16; $custom-light: #b1af61; $custom-dark: #000000;
JSON
{
"hex": "#8c8f16",
"rgb": {
"r": 140,
"g": 143,
"b": 22
},
"hsl": {
"h": 61.488,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.62719,
"c": 0.13188,
"h": 111.2
},
"luminance": 0.25278
}Semantic roles & 50–950 ramp
primary
#8C8F16
secondary
#433FC1
accent
#38F03C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A