#7C8419#7C8419
#7C8419 is a mid, vivid yellow. Relative luminance 0.209; OKLCH L 58.7% C 0.123 H 114.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8419 |
|---|---|
| RGB | rgb(124, 132, 25) |
| HSL | hsl(64, 68%, 31%) |
| HSV | hsv(64, 81%, 52%) |
| CMYK | cmyk(6.1%, 0%, 81.1%, 48.2%) |
| CIE-LAB | lab(52.79, -16.26, 51.77) |
| CIE-LCH | lch(52.79, 54.27, 107.43°) |
| OKLab | oklab(58.75% -0.0503 0.1128) |
| OKLCH | oklch(58.75% 0.124 114.1) |
| XYZ | xyz(16.7394, 20.8581, 4.0637) |
| Luminance | 0.2086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.20
Swamp Green
#748500
ΔE00 2.45
Olive
#808000
ΔE00 3.04
Poop Green
#6F7C00
ΔE00 3.75
Murky Green
#6C7A0E
ΔE00 4.63
Olive Green
#677A04
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8419 #211984
analogous
#845619 #7C8419 #468419
triadic
#7C8419 #197C84 #84197C
tetradic
#7C8419 #198456 #211984 #841946
square
#7C8419 #198456 #211984 #841946
split-complementary
#7C8419 #194684 #561984
monochromatic
#1B1D06 #4C510F #7C8419 #ACB723 #CFDA3D
Accessibility & contrast
On white
4.06
#7C8419 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#7C8419 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8419
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8419 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8419 | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#857C70
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7c8419; /* rgb */ color: rgb(124, 132, 25); /* oklch */ color: oklch(58.7% 0.123 114.1);
Tailwind
colors: {
custom: {
50: '#a5a760',
500: '#7c8419',
950: '#000000',
},
}SCSS
$custom: #7c8419; $custom-light: #a5a760; $custom-dark: #000000;
JSON
{
"hex": "#7c8419",
"rgb": {
"r": 124,
"g": 132,
"b": 25
},
"hsl": {
"h": 64.486,
"s": 68.153,
"l": 30.784
},
"oklch": {
"l": 0.58749,
"c": 0.1235,
"h": 114.1
},
"luminance": 0.20858
}Semantic roles & 50–950 ramp
primary
#7C8419
secondary
#4A41B8
accent
#3DEB4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A