#7A7D18#7A7D18
#7A7D18 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.117 H 111.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7D18 |
|---|---|
| RGB | rgb(122, 125, 24) |
| HSL | hsl(62, 68%, 29%) |
| HSV | hsv(62, 81%, 49%) |
| CMYK | cmyk(2.4%, 0%, 80.8%, 51%) |
| CIE-LAB | lab(50.54, -13.48, 50.00) |
| CIE-LCH | lch(50.54, 51.79, 105.08°) |
| OKLab | oklab(56.9% -0.0426 0.1089) |
| OKLCH | oklch(56.9% 0.117 111.4) |
| XYZ | xyz(15.5251, 18.8712, 3.6887) |
| Luminance | 0.1887 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.55
Olive
#808000
ΔE00 2.61
Poop Green
#6F7C00
ΔE00 3.03
Murky Green
#6C7A0E
ΔE00 3.61
Olive (survey)
#6E750E
ΔE00 3.61
Swamp Green
#748500
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7D18 #1B187D
analogous
#7D4E18 #7A7D18 #487D18
triadic
#7A7D18 #187A7D #7D187A
tetradic
#7A7D18 #187D4E #1B187D #7D1848
square
#7A7D18 #187D4E #1B187D #7D1848
split-complementary
#7A7D18 #18487D #4E187D
monochromatic
#191A05 #484A0E #7A7D18 #ACB022 #D4D937
Accessibility & contrast
On white
4.40
#7A7D18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#7A7D18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7D18
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7D18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7D18 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#887921
Tritanopia (blue-blind)
#83756A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7a7d18; /* rgb */ color: rgb(122, 125, 24); /* oklch */ color: oklch(56.9% 0.117 111.4);
Tailwind
colors: {
custom: {
50: '#a4a25f',
500: '#7a7d18',
950: '#000000',
},
}SCSS
$custom: #7a7d18; $custom-light: #a4a25f; $custom-dark: #000000;
JSON
{
"hex": "#7a7d18",
"rgb": {
"r": 122,
"g": 125,
"b": 24
},
"hsl": {
"h": 61.782,
"s": 67.785,
"l": 29.216
},
"oklch": {
"l": 0.56897,
"c": 0.11692,
"h": 111.4
},
"luminance": 0.18871
}Semantic roles & 50–950 ramp
primary
#7A7D18
secondary
#433FB2
accent
#3DEB42
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79