#7C7D1A#7C7D1A
#7C7D1A is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.115 H 110.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7D1A |
|---|---|
| RGB | rgb(124, 125, 26) |
| HSL | hsl(61, 66%, 30%) |
| HSV | hsv(61, 79%, 49%) |
| CMYK | cmyk(0.8%, 0%, 79.2%, 51%) |
| CIE-LAB | lab(50.72, -12.47, 49.58) |
| CIE-LCH | lch(50.72, 51.13, 104.12°) |
| OKLab | oklab(57.09% -0.0397 0.1083) |
| OKLCH | oklch(57.09% 0.115 110.2) |
| XYZ | xyz(15.8328, 19.0274, 3.8157) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.44
Shit Green
#758000
ΔE00 3.05
Poop Green
#6F7C00
ΔE00 3.62
Olive (survey)
#6E750E
ΔE00 3.97
Murky Green
#6C7A0E
ΔE00 4.17
Swamp Green
#748500
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7D1A #1B1A7D
analogous
#7D4D1A #7C7D1A #4B7D1A
triadic
#7C7D1A #1A7C7D #7D1A7C
tetradic
#7C7D1A #1A7D4D #1B1A7D #7D1A4B
square
#7C7D1A #1A7D4D #1B1A7D #7D1A4B
split-complementary
#7C7D1A #1A4B7D #4D1A7D
monochromatic
#191905 #4A4A0F #7C7D1A #AEB025 #D5D63B
Accessibility & contrast
On white
4.37
#7C7D1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#7C7D1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7D1A
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7D1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7D1A | 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)
#887701
Deuteranopia (green-blind)
#897A23
Tritanopia (blue-blind)
#85756B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7c7d1a; /* rgb */ color: rgb(124, 125, 26); /* oklch */ color: oklch(57.1% 0.115 110.2);
Tailwind
colors: {
custom: {
50: '#a5a260',
500: '#7c7d1a',
950: '#000000',
},
}SCSS
$custom: #7c7d1a; $custom-light: #a5a260; $custom-dark: #000000;
JSON
{
"hex": "#7c7d1a",
"rgb": {
"r": 124,
"g": 125,
"b": 26
},
"hsl": {
"h": 60.606,
"s": 65.563,
"l": 29.608
},
"oklch": {
"l": 0.57089,
"c": 0.11536,
"h": 110.2
},
"luminance": 0.19027
}Semantic roles & 50–950 ramp
primary
#7C7D1A
secondary
#4342B1
accent
#3FE941
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79