#8C8123#8C8123
#8C8123 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.112 H 102.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8123 |
|---|---|
| RGB | rgb(140, 129, 35) |
| HSL | hsl(54, 60%, 34%) |
| HSV | hsv(54, 75%, 55%) |
| CMYK | cmyk(0%, 7.9%, 75%, 45.1%) |
| CIE-LAB | lab(53.38, -6.86, 49.36) |
| CIE-LCH | lch(53.38, 49.84, 97.92°) |
| OKLab | oklab(59.58% -0.0241 0.109) |
| OKLCH | oklch(59.58% 0.112 102.5) |
| XYZ | xyz(18.9697, 21.3981, 4.7208) |
| Luminance | 0.2140 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.07
Baby Poop
#937C00
ΔE00 4.53
Hazel
#8E7618
ΔE00 5.37
Diarrhea
#9F8303
ΔE00 6.15
Ugly Brown
#7D7103
ΔE00 6.29
Puke Brown
#947706
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8123 #232E8C
analogous
#8C4D23 #8C8123 #638C23
triadic
#8C8123 #238C81 #81238C
tetradic
#8C8123 #238C4D #232E8C #8C2363
square
#8C8123 #238C4D #232E8C #8C2363
split-complementary
#8C8123 #23638C #4D238C
monochromatic
#2A270B #5B5417 #8C8123 #BDAE2F #D4C755
Accessibility & contrast
On white
3.98
#8C8123 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#8C8123 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8123
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8123 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8123 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D12
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#97786F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8c8123; /* rgb */ color: rgb(140, 129, 35); /* oklch */ color: oklch(59.6% 0.112 102.5);
Tailwind
colors: {
custom: {
50: '#b1a565',
500: '#8c8123',
950: '#000000',
},
}SCSS
$custom: #8c8123; $custom-light: #b1a565; $custom-dark: #000000;
JSON
{
"hex": "#8c8123",
"rgb": {
"r": 140,
"g": 129,
"b": 35
},
"hsl": {
"h": 53.714,
"s": 60,
"l": 34.314
},
"oklch": {
"l": 0.59578,
"c": 0.11158,
"h": 102.5
},
"luminance": 0.21397
}Semantic roles & 50–950 ramp
primary
#8C8123
secondary
#525DB8
accent
#55E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A