#7C8219#7C8219
#7C8219 is a mid, vivid yellow. Relative luminance 0.203; OKLCH L 58.3% C 0.121 H 113.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8219 |
|---|---|
| RGB | rgb(124, 130, 25) |
| HSL | hsl(63, 68%, 30%) |
| HSV | hsv(63, 81%, 51%) |
| CMYK | cmyk(4.6%, 0%, 80.8%, 49%) |
| CIE-LAB | lab(52.20, -15.20, 51.24) |
| CIE-LCH | lch(52.20, 53.45, 106.52°) |
| OKLab | oklab(58.27% -0.0474 0.1116) |
| OKLCH | oklch(58.27% 0.121 113) |
| XYZ | xyz(16.4708, 20.3209, 3.9742) |
| Luminance | 0.2032 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.06
Olive
#808000
ΔE00 2.55
Swamp Green
#748500
ΔE00 2.97
Poop Green
#6F7C00
ΔE00 3.45
Murky Green
#6C7A0E
ΔE00 4.30
Olive (survey)
#6E750E
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8219 #1F1982
analogous
#825419 #7C8219 #478219
triadic
#7C8219 #197C82 #82197C
tetradic
#7C8219 #198254 #1F1982 #821947
square
#7C8219 #198254 #1F1982 #821947
split-complementary
#7C8219 #194782 #541982
monochromatic
#1A1B05 #4B4F0F #7C8219 #ADB523 #D0D93C
Accessibility & contrast
On white
4.15
#7C8219 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#7C8219 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8219
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8219 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8219 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8C7E23
Tritanopia (blue-blind)
#857A6F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #7c8219; /* rgb */ color: rgb(124, 130, 25); /* oklch */ color: oklch(58.3% 0.121 113.0);
Tailwind
colors: {
custom: {
50: '#a5a660',
500: '#7c8219',
950: '#000000',
},
}SCSS
$custom: #7c8219; $custom-light: #a5a660; $custom-dark: #000000;
JSON
{
"hex": "#7c8219",
"rgb": {
"r": 124,
"g": 130,
"b": 25
},
"hsl": {
"h": 63.429,
"s": 67.742,
"l": 30.392
},
"oklch": {
"l": 0.58271,
"c": 0.12128,
"h": 113
},
"luminance": 0.20321
}Semantic roles & 50–950 ramp
primary
#7C8219
secondary
#4841B6
accent
#3DEB47
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79