#7C8319#7C8319
#7C8319 is a mid, vivid yellow. Relative luminance 0.206; OKLCH L 58.5% C 0.122 H 113.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8319 |
|---|---|
| RGB | rgb(124, 131, 25) |
| HSL | hsl(64, 68%, 31%) |
| HSV | hsv(64, 81%, 51%) |
| CMYK | cmyk(5.3%, 0%, 80.9%, 48.6%) |
| CIE-LAB | lab(52.50, -15.73, 51.51) |
| CIE-LCH | lch(52.50, 53.86, 106.98°) |
| OKLab | oklab(58.51% -0.0489 0.1122) |
| OKLCH | oklch(58.51% 0.122 113.5) |
| XYZ | xyz(16.6045, 20.5882, 4.0187) |
| Luminance | 0.2059 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.09
Swamp Green
#748500
ΔE00 2.69
Olive
#808000
ΔE00 2.78
Poop Green
#6F7C00
ΔE00 3.58
Murky Green
#6C7A0E
ΔE00 4.45
Olive Green
#677A04
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8319 #201983
analogous
#835519 #7C8319 #478319
triadic
#7C8319 #197C83 #83197C
tetradic
#7C8319 #198355 #201983 #831947
square
#7C8319 #198355 #201983 #831947
split-complementary
#7C8319 #194783 #551983
monochromatic
#1B1C05 #4B500F #7C8319 #ADB623 #CFDA3D
Accessibility & contrast
On white
4.10
#7C8319 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#7C8319 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8319
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8319 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8319 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#857B70
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #7c8319; /* rgb */ color: rgb(124, 131, 25); /* oklch */ color: oklch(58.5% 0.122 113.5);
Tailwind
colors: {
custom: {
50: '#a5a660',
500: '#7c8319',
950: '#000000',
},
}SCSS
$custom: #7c8319; $custom-light: #a5a660; $custom-dark: #000000;
JSON
{
"hex": "#7c8319",
"rgb": {
"r": 124,
"g": 131,
"b": 25
},
"hsl": {
"h": 63.962,
"s": 67.949,
"l": 30.588
},
"oklch": {
"l": 0.5851,
"c": 0.12239,
"h": 113.5
},
"luminance": 0.20588
}Semantic roles & 50–950 ramp
primary
#7C8319
secondary
#4941B7
accent
#3DEB48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A