#8C821B#8C821B
#8C821B is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.117 H 103.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8C821B |
|---|---|
| RGB | rgb(140, 130, 27) |
| HSL | hsl(55, 68%, 33%) |
| HSV | hsv(55, 81%, 55%) |
| CMYK | cmyk(0%, 7.1%, 80.7%, 45.1%) |
| CIE-LAB | lab(53.62, -7.76, 52.41) |
| CIE-LCH | lch(53.62, 52.98, 98.42°) |
| OKLab | oklab(59.75% -0.0274 0.1138) |
| OKLCH | oklch(59.75% 0.117 103.5) |
| XYZ | xyz(18.9966, 21.6207, 4.2093) |
| Luminance | 0.2162 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.50
Baby Poop
#937C00
ΔE00 4.51
Hazel
#8E7618
ΔE00 5.86
Diarrhea
#9F8303
ΔE00 6.03
Shit Green
#758000
ΔE00 6.42
Ugly Brown
#7D7103
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C821B #1B258C
analogous
#8C491B #8C821B #5E8C1B
triadic
#8C821B #1B8C82 #821B8C
tetradic
#8C821B #1B8C49 #1B258C #8C1B5E
square
#8C821B #1B8C49 #1B258C #8C1B5E
split-complementary
#8C821B #1B5E8C #491B8C
monochromatic
#252307 #595211 #8C821B #BFB225 #DBCE46
Accessibility & contrast
On white
3.94
#8C821B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#8C821B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C821B
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C821B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C821B | 1.00 | 3.94 | 5.32 | 5.32 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#928223
Tritanopia (blue-blind)
#97786F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8c821b; /* rgb */ color: rgb(140, 130, 27); /* oklch */ color: oklch(59.8% 0.117 103.5);
Tailwind
colors: {
custom: {
50: '#b1a661',
500: '#8c821b',
950: '#000000',
},
}SCSS
$custom: #8c821b; $custom-light: #b1a661; $custom-dark: #000000;
JSON
{
"hex": "#8c821b",
"rgb": {
"r": 140,
"g": 130,
"b": 27
},
"hsl": {
"h": 54.69,
"s": 67.665,
"l": 32.745
},
"oklch": {
"l": 0.59754,
"c": 0.11707,
"h": 103.5
},
"luminance": 0.2162
}Semantic roles & 50–950 ramp
primary
#8C821B
secondary
#4650BD
accent
#4DEB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A