#7A7F1E#7A7F1E
#7A7F1E is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.116 H 112.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7F1E |
|---|---|
| RGB | rgb(122, 127, 30) |
| HSL | hsl(63, 62%, 31%) |
| HSV | hsv(63, 76%, 50%) |
| CMYK | cmyk(3.9%, 0%, 76.4%, 50.2%) |
| CIE-LAB | lab(51.16, -14.29, 48.55) |
| CIE-LCH | lch(51.16, 50.61, 106.40°) |
| OKLab | oklab(57.41% -0.0443 0.107) |
| OKLCH | oklch(57.41% 0.116 112.5) |
| XYZ | xyz(15.8503, 19.4104, 4.1397) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.44
Olive
#808000
ΔE00 3.07
Poop Green
#6F7C00
ΔE00 3.10
Murky Green
#6C7A0E
ΔE00 3.58
Swamp Green
#748500
ΔE00 3.80
Olive (survey)
#6E750E
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7F1E #231E7F
analogous
#7F531E #7A7F1E #497F1E
triadic
#7A7F1E #1E7A7F #7F1E7A
tetradic
#7A7F1E #1E7F53 #231E7F #7F1E49
square
#7A7F1E #1E7F53 #231E7F #7F1E49
split-complementary
#7A7F1E #1E497F #531E7F
monochromatic
#1B1C07 #4A4D12 #7A7F1E #AAB12A #CCD344
Accessibility & contrast
On white
4.30
#7A7F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#7A7F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7F1E
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7F1E | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897909
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#83776D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7a7f1e; /* rgb */ color: rgb(122, 127, 30); /* oklch */ color: oklch(57.4% 0.116 112.5);
Tailwind
colors: {
custom: {
50: '#a3a362',
500: '#7a7f1e',
950: '#000000',
},
}SCSS
$custom: #7a7f1e; $custom-light: #a3a362; $custom-dark: #000000;
JSON
{
"hex": "#7a7f1e",
"rgb": {
"r": 122,
"g": 127,
"b": 30
},
"hsl": {
"h": 63.093,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.5741,
"c": 0.11577,
"h": 112.5
},
"luminance": 0.1941
}Semantic roles & 50–950 ramp
primary
#7A7F1E
secondary
#4C47B2
accent
#43E54B
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A