#7C841A#7C841A
#7C841A is a mid, vivid yellow. Relative luminance 0.209; OKLCH L 58.8% C 0.123 H 114.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7C841A |
|---|---|
| RGB | rgb(124, 132, 26) |
| HSL | hsl(65, 67%, 31%) |
| HSV | hsv(65, 80%, 52%) |
| CMYK | cmyk(6.1%, 0%, 80.3%, 48.2%) |
| CIE-LAB | lab(52.80, -16.22, 51.47) |
| CIE-LCH | lch(52.80, 53.96, 107.49°) |
| OKLab | oklab(58.75% -0.0501 0.1123) |
| OKLCH | oklch(58.75% 0.123 114.1) |
| XYZ | xyz(16.7504, 20.8625, 4.1216) |
| Luminance | 0.2086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.24
Swamp Green
#748500
ΔE00 2.49
Olive
#808000
ΔE00 3.10
Poop Green
#6F7C00
ΔE00 3.77
Murky Green
#6C7A0E
ΔE00 4.62
Olive Green
#677A04
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C841A #221A84
analogous
#84571A #7C841A #47841A
triadic
#7C841A #1A7C84 #841A7C
tetradic
#7C841A #1A8457 #221A84 #841A47
square
#7C841A #1A8457 #221A84 #841A47
split-complementary
#7C841A #1A4784 #571A84
monochromatic
#1C1E06 #4C5110 #7C841A #ACB724 #CED93F
Accessibility & contrast
On white
4.06
#7C841A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#7C841A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C841A
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C841A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C841A | 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)
#8E7F24
Tritanopia (blue-blind)
#857C71
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7c841a; /* rgb */ color: rgb(124, 132, 26); /* oklch */ color: oklch(58.8% 0.123 114.1);
Tailwind
colors: {
custom: {
50: '#a5a761',
500: '#7c841a',
950: '#000000',
},
}SCSS
$custom: #7c841a; $custom-light: #a5a761; $custom-dark: #000000;
JSON
{
"hex": "#7c841a",
"rgb": {
"r": 124,
"g": 132,
"b": 26
},
"hsl": {
"h": 64.528,
"s": 67.089,
"l": 30.98
},
"oklch": {
"l": 0.58754,
"c": 0.12299,
"h": 114.1
},
"luminance": 0.20862
}Semantic roles & 50–950 ramp
primary
#7C841A
secondary
#4B42B8
accent
#3EEA4B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A