#7A7F15#7A7F15
#7A7F15 is a mid, vivid yellow. Relative luminance 0.194; OKLCH L 57.4% C 0.121 H 112.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7F15 |
|---|---|
| RGB | rgb(122, 127, 21) |
| HSL | hsl(63, 72%, 29%) |
| HSV | hsv(63, 83%, 50%) |
| CMYK | cmyk(3.9%, 0%, 83.5%, 50.2%) |
| CIE-LAB | lab(51.12, -14.66, 51.42) |
| CIE-LCH | lch(51.12, 53.47, 105.92°) |
| OKLab | oklab(57.36% -0.0461 0.1114) |
| OKLCH | oklch(57.36% 0.121 112.5) |
| XYZ | xyz(15.7513, 19.3708, 3.6185) |
| Luminance | 0.1937 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.84
Olive
#808000
ΔE00 2.36
Poop Green
#6F7C00
ΔE00 2.80
Swamp Green
#748500
ΔE00 3.46
Murky Green
#6C7A0E
ΔE00 3.61
Olive (survey)
#6E750E
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7F15 #1A157F
analogous
#7F4F15 #7A7F15 #457F15
triadic
#7A7F15 #157A7F #7F157A
tetradic
#7A7F15 #157F4F #1A157F #7F1545
square
#7A7F15 #157F4F #1A157F #7F1545
split-complementary
#7A7F15 #15457F #4F157F
monochromatic
#191A04 #484A0C #7A7F15 #ACB41E #D5DD31
Accessibility & contrast
On white
4.31
#7A7F15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#7A7F15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7F15
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7F15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7F15 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#83776C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7a7f15; /* rgb */ color: rgb(122, 127, 21); /* oklch */ color: oklch(57.4% 0.121 112.5);
Tailwind
colors: {
custom: {
50: '#a4a35e',
500: '#7a7f15',
950: '#000000',
},
}SCSS
$custom: #7a7f15; $custom-light: #a4a35e; $custom-dark: #000000;
JSON
{
"hex": "#7a7f15",
"rgb": {
"r": 122,
"g": 127,
"b": 21
},
"hsl": {
"h": 62.83,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.57359,
"c": 0.12053,
"h": 112.5
},
"luminance": 0.1937
}Semantic roles & 50–950 ramp
primary
#7A7F15
secondary
#413CB4
accent
#39EE42
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79