#7A7C18#7A7C18
#7A7C18 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.116 H 110.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7C18 |
|---|---|
| RGB | rgb(122, 124, 24) |
| HSL | hsl(61, 68%, 29%) |
| HSV | hsv(61, 81%, 49%) |
| CMYK | cmyk(1.6%, 0%, 80.6%, 51.4%) |
| CIE-LAB | lab(50.24, -12.94, 49.74) |
| CIE-LCH | lch(50.24, 51.39, 104.58°) |
| OKLab | oklab(56.66% -0.0411 0.1083) |
| OKLCH | oklch(56.66% 0.116 110.8) |
| XYZ | xyz(15.3991, 18.6193, 3.6467) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.73
Shit Green
#758000
ΔE00 2.89
Poop Green
#6F7C00
ΔE00 3.20
Olive (survey)
#6E750E
ΔE00 3.42
Murky Green
#6C7A0E
ΔE00 3.70
Swamp Green
#748500
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7C18 #1A187C
analogous
#7C4C18 #7A7C18 #487C18
triadic
#7A7C18 #187A7C #7C187A
tetradic
#7A7C18 #187C4C #1A187C #7C1848
square
#7A7C18 #187C4C #1A187C #7C1848
split-complementary
#7A7C18 #18487C #4C187C
monochromatic
#191A05 #48490E #7A7C18 #ACAF22 #D5D836
Accessibility & contrast
On white
4.45
#7A7C18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#7A7C18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7C18
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7C18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7C18 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#877921
Tritanopia (blue-blind)
#83746A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7a7c18; /* rgb */ color: rgb(122, 124, 24); /* oklch */ color: oklch(56.7% 0.116 110.8);
Tailwind
colors: {
custom: {
50: '#a4a15f',
500: '#7a7c18',
950: '#000000',
},
}SCSS
$custom: #7a7c18; $custom-light: #a4a15f; $custom-dark: #000000;
JSON
{
"hex": "#7a7c18",
"rgb": {
"r": 122,
"g": 124,
"b": 24
},
"hsl": {
"h": 61.2,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.56659,
"c": 0.11585,
"h": 110.8
},
"luminance": 0.18619
}Semantic roles & 50–950 ramp
primary
#7A7C18
secondary
#413FB1
accent
#3DEA41
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79