#7A7C15#7A7C15
#7A7C15 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.6% C 0.117 H 110.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7C15 |
|---|---|
| RGB | rgb(122, 124, 21) |
| HSL | hsl(61, 71%, 28%) |
| HSV | hsv(61, 83%, 49%) |
| CMYK | cmyk(1.6%, 0%, 83.1%, 51.4%) |
| CIE-LAB | lab(50.22, -13.05, 50.64) |
| CIE-LCH | lch(50.22, 52.30, 104.45°) |
| OKLab | oklab(56.64% -0.0417 0.1097) |
| OKLCH | oklch(56.64% 0.117 110.8) |
| XYZ | xyz(15.3696, 18.6075, 3.4913) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.52
Shit Green
#758000
ΔE00 2.77
Poop Green
#6F7C00
ΔE00 3.13
Olive (survey)
#6E750E
ΔE00 3.44
Murky Green
#6C7A0E
ΔE00 3.72
Swamp Green
#748500
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7C15 #17157C
analogous
#7C4A15 #7A7C15 #467C15
triadic
#7A7C15 #157A7C #7C157A
tetradic
#7A7C15 #157C4A #17157C #7C1546
square
#7A7C15 #157C4A #17157C #7C1546
split-complementary
#7A7C15 #15467C #4A157C
monochromatic
#1A1A04 #47480C #7A7C15 #ADB01E #D9DC30
Accessibility & contrast
On white
4.45
#7A7C15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#7A7C15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7C15
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7C15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7C15 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#87791F
Tritanopia (blue-blind)
#837469
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7a7c15; /* rgb */ color: rgb(122, 124, 21); /* oklch */ color: oklch(56.6% 0.117 110.8);
Tailwind
colors: {
custom: {
50: '#a4a15e',
500: '#7a7c15',
950: '#000000',
},
}SCSS
$custom: #7a7c15; $custom-light: #a4a15e; $custom-dark: #000000;
JSON
{
"hex": "#7a7c15",
"rgb": {
"r": 122,
"g": 124,
"b": 21
},
"hsl": {
"h": 61.165,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.56644,
"c": 0.11732,
"h": 110.8
},
"luminance": 0.18607
}Semantic roles & 50–950 ramp
primary
#7A7C15
secondary
#3E3CB1
accent
#3AEE3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79