#7A7B17#7A7B17
#7A7B17 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.4% C 0.115 H 110.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7B17 |
|---|---|
| RGB | rgb(122, 123, 23) |
| HSL | hsl(61, 68%, 29%) |
| HSV | hsv(61, 81%, 48%) |
| CMYK | cmyk(0.8%, 0%, 81.3%, 51.8%) |
| CIE-LAB | lab(49.94, -12.43, 49.78) |
| CIE-LCH | lch(49.94, 51.31, 104.02°) |
| OKLab | oklab(56.42% -0.0398 0.1082) |
| OKLCH | oklch(56.42% 0.115 110.2) |
| XYZ | xyz(15.2642, 18.3658, 3.5513) |
| Luminance | 0.1837 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.84
Shit Green
#758000
ΔE00 3.21
Olive (survey)
#6E750E
ΔE00 3.29
Poop Green
#6F7C00
ΔE00 3.39
Murky Green
#6C7A0E
ΔE00 3.84
Swamp Green
#748500
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7B17 #18177B
analogous
#7B4A17 #7A7B17 #487B17
triadic
#7A7B17 #177A7B #7B177A
tetradic
#7A7B17 #177B4A #18177B #7B1748
square
#7A7B17 #177B4A #18177B #7B1748
split-complementary
#7A7B17 #17487B #4A177B
monochromatic
#1A1A05 #47470D #7A7B17 #ADAF21 #D7D933
Accessibility & contrast
On white
4.49
#7A7B17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.67
#7A7B17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7B17
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7B17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7B17 | 1.00 | 4.49 | 4.67 | 4.67 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#867820
Tritanopia (blue-blind)
#837369
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7a7b17; /* rgb */ color: rgb(122, 123, 23); /* oklch */ color: oklch(56.4% 0.115 110.2);
Tailwind
colors: {
custom: {
50: '#a4a05e',
500: '#7a7b17',
950: '#000000',
},
}SCSS
$custom: #7a7b17; $custom-light: #a4a05e; $custom-dark: #000000;
JSON
{
"hex": "#7a7b17",
"rgb": {
"r": 122,
"g": 123,
"b": 23
},
"hsl": {
"h": 60.6,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.56416,
"c": 0.1153,
"h": 110.2
},
"luminance": 0.18365
}Semantic roles & 50–950 ramp
primary
#7A7B17
secondary
#3F3EB0
accent
#3CEB3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79