#8C831C#8C831C
#8C831C is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.117 H 104.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8C831C |
|---|---|
| RGB | rgb(140, 131, 28) |
| HSL | hsl(55, 67%, 33%) |
| HSV | hsv(55, 80%, 55%) |
| CMYK | cmyk(0%, 6.4%, 80%, 45.1%) |
| CIE-LAB | lab(53.91, -8.27, 52.35) |
| CIE-LCH | lch(53.91, 53.00, 98.98°) |
| OKLab | oklab(59.99% -0.0287 0.1139) |
| OKLCH | oklch(59.99% 0.117 104.1) |
| XYZ | xyz(19.1420, 21.8927, 4.3158) |
| Luminance | 0.2189 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.40
Baby Poop
#937C00
ΔE00 4.90
Shit Green
#758000
ΔE00 6.25
Diarrhea
#9F8303
ΔE00 6.25
Hazel
#8E7618
ΔE00 6.29
Ugly Brown
#7D7103
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C831C #1C258C
analogous
#8C4B1C #8C831C #5D8C1C
triadic
#8C831C #1C8C83 #831C8C
tetradic
#8C831C #1C8C4B #1C258C #8C1C5D
square
#8C831C #1C8C4B #1C258C #8C1C5D
split-complementary
#8C831C #1C5D8C #4B1C8C
monochromatic
#262408 #595312 #8C831C #BFB326 #DACF48
Accessibility & contrast
On white
3.90
#8C831C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#8C831C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C831C
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C831C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C831C | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E01
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#977970
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #8c831c; /* rgb */ color: rgb(140, 131, 28); /* oklch */ color: oklch(60.0% 0.117 104.1);
Tailwind
colors: {
custom: {
50: '#b1a662',
500: '#8c831c',
950: '#000000',
},
}SCSS
$custom: #8c831c; $custom-light: #b1a662; $custom-dark: #000000;
JSON
{
"hex": "#8c831c",
"rgb": {
"r": 140,
"g": 131,
"b": 28
},
"hsl": {
"h": 55.179,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.59987,
"c": 0.11745,
"h": 104.1
},
"luminance": 0.21892
}Semantic roles & 50–950 ramp
primary
#8C831C
secondary
#4851BC
accent
#4CEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A