#7E7E12#7E7E12
#7E7E12 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.120 H 109.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7E12 |
|---|---|
| RGB | rgb(126, 126, 18) |
| HSL | hsl(60, 75%, 28%) |
| HSV | hsv(60, 86%, 49%) |
| CMYK | cmyk(0%, 0%, 85.7%, 50.6%) |
| CIE-LAB | lab(51.15, -12.38, 52.40) |
| CIE-LCH | lch(51.15, 53.84, 103.29°) |
| OKLab | oklab(57.47% -0.0402 0.1127) |
| OKLCH | oklch(57.47% 0.12 109.6) |
| XYZ | xyz(16.1749, 19.4015, 3.4650) |
| Luminance | 0.1940 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.43
Shit Green
#758000
ΔE00 3.03
Poop Green
#6F7C00
ΔE00 3.95
Olive (survey)
#6E750E
ΔE00 4.62
Swamp Green
#748500
ΔE00 4.69
Murky Green
#6C7A0E
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7E12 #12127E
analogous
#7E4812 #7E7E12 #487E12
triadic
#7E7E12 #127E7E #7E127E
tetradic
#7E7E12 #127E48 #12127E #7E1248
square
#7E7E12 #127E48 #12127E #7E1248
split-complementary
#7E7E12 #12487E #48127E
monochromatic
#1B1B04 #48480A #7E7E12 #B4B41A #E1E12A
Accessibility & contrast
On white
4.30
#7E7E12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#7E7E12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7E12
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7E12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7E12 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B1D
Tritanopia (blue-blind)
#88756B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e7e12; /* rgb */ color: rgb(126, 126, 18); /* oklch */ color: oklch(57.5% 0.120 109.6);
Tailwind
colors: {
custom: {
50: '#a7a35d',
500: '#7e7e12',
950: '#000000',
},
}SCSS
$custom: #7e7e12; $custom-light: #a7a35d; $custom-dark: #000000;
JSON
{
"hex": "#7e7e12",
"rgb": {
"r": 126,
"g": 126,
"b": 18
},
"hsl": {
"h": 60,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.57468,
"c": 0.11968,
"h": 109.6
},
"luminance": 0.19401
}Semantic roles & 50–950 ramp
primary
#7E7E12
secondary
#3838B4
accent
#36F236
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79