#7A7E14#7A7E14
#7A7E14 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.120 H 112.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7E14 |
|---|---|
| RGB | rgb(122, 126, 20) |
| HSL | hsl(62, 73%, 29%) |
| HSV | hsv(62, 84%, 49%) |
| CMYK | cmyk(3.2%, 0%, 84.1%, 50.6%) |
| CIE-LAB | lab(50.82, -14.16, 51.44) |
| CIE-LCH | lch(50.82, 53.35, 105.39°) |
| OKLab | oklab(57.12% -0.0448 0.1112) |
| OKLCH | oklch(57.12% 0.12 112) |
| XYZ | xyz(15.6137, 19.1102, 3.5278) |
| Luminance | 0.1911 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.07
Olive
#808000
ΔE00 2.28
Poop Green
#6F7C00
ΔE00 2.83
Murky Green
#6C7A0E
ΔE00 3.61
Swamp Green
#748500
ΔE00 3.83
Olive (survey)
#6E750E
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7E14 #18147E
analogous
#7E4D14 #7A7E14 #457E14
triadic
#7A7E14 #147A7E #7E147A
tetradic
#7A7E14 #147E4D #18147E #7E1445
square
#7A7E14 #147E4D #18147E #7E1445
split-complementary
#7A7E14 #14457E #4D147E
monochromatic
#1A1A04 #47490C #7A7E14 #ADB31C #D7DE2E
Accessibility & contrast
On white
4.36
#7A7E14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7A7E14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7E14
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7E14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7E14 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#897A1F
Tritanopia (blue-blind)
#83766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7a7e14; /* rgb */ color: rgb(122, 126, 20); /* oklch */ color: oklch(57.1% 0.120 112.0);
Tailwind
colors: {
custom: {
50: '#a4a35e',
500: '#7a7e14',
950: '#000000',
},
}SCSS
$custom: #7a7e14; $custom-light: #a4a35e; $custom-dark: #000000;
JSON
{
"hex": "#7a7e14",
"rgb": {
"r": 122,
"g": 126,
"b": 20
},
"hsl": {
"h": 62.264,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.57115,
"c": 0.1199,
"h": 112
},
"luminance": 0.1911
}Semantic roles & 50–950 ramp
primary
#7A7E14
secondary
#3F3AB3
accent
#38EF3F
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79