#7A7D15#7A7D15
#7A7D15 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.9% C 0.118 H 111.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7D15 |
|---|---|
| RGB | rgb(122, 125, 21) |
| HSL | hsl(62, 71%, 29%) |
| HSV | hsv(62, 83%, 49%) |
| CMYK | cmyk(2.4%, 0%, 83.2%, 51%) |
| CIE-LAB | lab(50.52, -13.59, 50.90) |
| CIE-LCH | lch(50.52, 52.68, 104.95°) |
| OKLab | oklab(56.88% -0.0432 0.1102) |
| OKLCH | oklch(56.88% 0.118 111.4) |
| XYZ | xyz(15.4956, 18.8594, 3.5333) |
| Luminance | 0.1886 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.40
Shit Green
#758000
ΔE00 2.42
Poop Green
#6F7C00
ΔE00 2.96
Olive (survey)
#6E750E
ΔE00 3.63
Murky Green
#6C7A0E
ΔE00 3.64
Swamp Green
#748500
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7D15 #18157D
analogous
#7D4C15 #7A7D15 #467D15
triadic
#7A7D15 #157A7D #7D157A
tetradic
#7A7D15 #157D4C #18157D #7D1546
square
#7A7D15 #157D4C #18157D #7D1546
split-complementary
#7A7D15 #15467D #4C157D
monochromatic
#1A1A04 #47490C #7A7D15 #ADB11E #D7DC30
Accessibility & contrast
On white
4.40
#7A7D15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#7A7D15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7D15
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7D15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7D15 | 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)
#88791F
Tritanopia (blue-blind)
#83756A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7a7d15; /* rgb */ color: rgb(122, 125, 21); /* oklch */ color: oklch(56.9% 0.118 111.4);
Tailwind
colors: {
custom: {
50: '#a4a25e',
500: '#7a7d15',
950: '#000000',
},
}SCSS
$custom: #7a7d15; $custom-light: #a4a25e; $custom-dark: #000000;
JSON
{
"hex": "#7a7d15",
"rgb": {
"r": 122,
"g": 125,
"b": 21
},
"hsl": {
"h": 61.731,
"s": 71.233,
"l": 28.627
},
"oklch": {
"l": 0.56882,
"c": 0.11838,
"h": 111.4
},
"luminance": 0.18859
}Semantic roles & 50–950 ramp
primary
#7A7D15
secondary
#3F3CB2
accent
#3AEE3F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79