#7A7E12#7A7E12
#7A7E12 is a mid, vivid yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.121 H 112.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7E12 |
|---|---|
| RGB | rgb(122, 126, 18) |
| HSL | hsl(62, 75%, 28%) |
| HSV | hsv(62, 86%, 49%) |
| CMYK | cmyk(3.2%, 0%, 85.7%, 50.6%) |
| CIE-LAB | lab(50.81, -14.23, 51.97) |
| CIE-LCH | lch(50.81, 53.89, 105.31°) |
| OKLab | oklab(57.11% -0.0451 0.112) |
| OKLCH | oklch(57.11% 0.121 112) |
| XYZ | xyz(15.5966, 19.1034, 3.4379) |
| Luminance | 0.1910 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.01
Olive
#808000
ΔE00 2.16
Poop Green
#6F7C00
ΔE00 2.81
Murky Green
#6C7A0E
ΔE00 3.65
Swamp Green
#748500
ΔE00 3.80
Olive (survey)
#6E750E
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7E12 #16127E
analogous
#7E4C12 #7A7E12 #447E12
triadic
#7A7E12 #127A7E #7E127A
tetradic
#7A7E12 #127E4C #16127E #7E1244
square
#7A7E12 #127E4C #16127E #7E1244
split-complementary
#7A7E12 #12447E #4C127E
monochromatic
#1A1B04 #46480A #7A7E12 #AEB41A #DAE12A
Accessibility & contrast
On white
4.36
#7A7E12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7A7E12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A7E12
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7E12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A7E12 | 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)
#897A1D
Tritanopia (blue-blind)
#83766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7a7e12; /* rgb */ color: rgb(122, 126, 18); /* oklch */ color: oklch(57.1% 0.121 112.0);
Tailwind
colors: {
custom: {
50: '#a4a35d',
500: '#7a7e12',
950: '#000000',
},
}SCSS
$custom: #7a7e12; $custom-light: #a4a35d; $custom-dark: #000000;
JSON
{
"hex": "#7a7e12",
"rgb": {
"r": 122,
"g": 126,
"b": 18
},
"hsl": {
"h": 62.222,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.57106,
"c": 0.12074,
"h": 112
},
"luminance": 0.19103
}Semantic roles & 50–950 ramp
primary
#7A7E12
secondary
#3D38B4
accent
#36F23D
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79