#7C7D1E#7C7D1E
#7C7D1E is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.113 H 110.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7D1E |
|---|---|
| RGB | rgb(124, 125, 30) |
| HSL | hsl(61, 61%, 30%) |
| HSV | hsv(61, 76%, 49%) |
| CMYK | cmyk(0.8%, 0%, 76%, 51%) |
| CIE-LAB | lab(50.74, -12.29, 48.21) |
| CIE-LCH | lch(50.74, 49.75, 104.30°) |
| OKLab | oklab(57.11% -0.0389 0.1062) |
| OKLCH | oklch(57.11% 0.113 110.1) |
| XYZ | xyz(15.8807, 19.0465, 4.0678) |
| Luminance | 0.1905 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.82
Shit Green
#758000
ΔE00 3.27
Poop Green
#6F7C00
ΔE00 3.76
Olive (survey)
#6E750E
ΔE00 3.98
Murky Green
#6C7A0E
ΔE00 4.18
Swamp Green
#748500
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7D1E #1F1E7D
analogous
#7D4F1E #7C7D1E #4C7D1E
triadic
#7C7D1E #1E7C7D #7D1E7C
tetradic
#7C7D1E #1E7D4F #1F1E7D #7D1E4C
square
#7C7D1E #1E7D4F #1F1E7D #7D1E4C
split-complementary
#7C7D1E #1E4C7D #4F1E7D
monochromatic
#1A1A06 #4B4C12 #7C7D1E #ADAE2A #D0D243
Accessibility & contrast
On white
4.37
#7C7D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#7C7D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7D1E
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7D1E | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87770A
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#85756B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7c7d1e; /* rgb */ color: rgb(124, 125, 30); /* oklch */ color: oklch(57.1% 0.113 110.1);
Tailwind
colors: {
custom: {
50: '#a5a262',
500: '#7c7d1e',
950: '#000000',
},
}SCSS
$custom: #7c7d1e; $custom-light: #a5a262; $custom-dark: #000000;
JSON
{
"hex": "#7c7d1e",
"rgb": {
"r": 124,
"g": 125,
"b": 30
},
"hsl": {
"h": 60.632,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.57114,
"c": 0.11306,
"h": 110.1
},
"luminance": 0.19046
}Semantic roles & 50–950 ramp
primary
#7C7D1E
secondary
#4846B0
accent
#43E445
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A