#7A7A18#7A7A18
#7A7A18 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.114 H 109.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7A18 |
|---|---|
| RGB | rgb(122, 122, 24) |
| HSL | hsl(60, 67%, 29%) |
| HSV | hsv(60, 80%, 48%) |
| CMYK | cmyk(0%, 0%, 80.3%, 52.2%) |
| CIE-LAB | lab(49.65, -11.85, 49.20) |
| CIE-LCH | lch(49.65, 50.61, 103.54°) |
| OKLab | oklab(56.18% -0.0381 0.1072) |
| OKLCH | oklch(56.18% 0.114 109.6) |
| XYZ | xyz(15.1510, 18.1231, 3.5640) |
| Luminance | 0.1812 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.14
Olive (survey)
#6E750E
ΔE00 3.20
Shit Green
#758000
ΔE00 3.63
Poop Green
#6F7C00
ΔE00 3.68
Murky Green
#6C7A0E
ΔE00 4.03
Ugly Brown
#7D7103
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7A18 #18187A
analogous
#7A4918 #7A7A18 #497A18
triadic
#7A7A18 #187A7A #7A187A
tetradic
#7A7A18 #187A49 #18187A #7A1849
square
#7A7A18 #187A49 #18187A #7A1849
split-complementary
#7A7A18 #18497A #49187A
monochromatic
#1A1A05 #47470E #7A7A18 #ADAD22 #D7D735
Accessibility & contrast
On white
4.54
#7A7A18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#7A7A18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7A18
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7A18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7A18 | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#867721
Tritanopia (blue-blind)
#837268
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7a7a18; /* rgb */ color: rgb(122, 122, 24); /* oklch */ color: oklch(56.2% 0.114 109.6);
Tailwind
colors: {
custom: {
50: '#a4a05f',
500: '#7a7a18',
950: '#000000',
},
}SCSS
$custom: #7a7a18; $custom-light: #a4a05f; $custom-dark: #000000;
JSON
{
"hex": "#7a7a18",
"rgb": {
"r": 122,
"g": 122,
"b": 24
},
"hsl": {
"h": 60,
"s": 67.123,
"l": 28.627
},
"oklch": {
"l": 0.56185,
"c": 0.11373,
"h": 109.6
},
"luminance": 0.18123
}Semantic roles & 50–950 ramp
primary
#7A7A18
secondary
#3F3FAF
accent
#3EEA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79