#7E8112#7E8112
#7E8112 is a mid, vivid yellow. Relative luminance 0.202; OKLCH L 58.2% C 0.123 H 111.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7E8112 |
|---|---|
| RGB | rgb(126, 129, 18) |
| HSL | hsl(62, 76%, 29%) |
| HSV | hsv(62, 86%, 51%) |
| CMYK | cmyk(2.3%, 0%, 86%, 49.4%) |
| CIE-LAB | lab(52.04, -13.99, 53.15) |
| CIE-LCH | lch(52.04, 54.96, 104.75°) |
| OKLab | oklab(58.18% -0.0447 0.1144) |
| OKLCH | oklch(58.18% 0.123 111.4) |
| XYZ | xyz(16.5642, 20.1803, 3.5948) |
| Luminance | 0.2018 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.45
Shit Green
#758000
ΔE00 2.37
Swamp Green
#748500
ΔE00 3.64
Poop Green
#6F7C00
ΔE00 3.78
Murky Green
#6C7A0E
ΔE00 4.77
Olive (survey)
#6E750E
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E8112 #151281
analogous
#814D12 #7E8112 #478112
triadic
#7E8112 #127E81 #81127E
tetradic
#7E8112 #12814D #151281 #811247
square
#7E8112 #12814D #151281 #811247
split-complementary
#7E8112 #124781 #4D1281
monochromatic
#1A1B04 #4A4B0B #7E8112 #B2B719 #DDE22C
Accessibility & contrast
On white
4.17
#7E8112 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#7E8112 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E8112
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E8112 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E8112 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8C7D1E
Tritanopia (blue-blind)
#87786E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #7e8112; /* rgb */ color: rgb(126, 129, 18); /* oklch */ color: oklch(58.2% 0.123 111.4);
Tailwind
colors: {
custom: {
50: '#a7a55d',
500: '#7e8112',
950: '#000000',
},
}SCSS
$custom: #7e8112; $custom-light: #a7a55d; $custom-dark: #000000;
JSON
{
"hex": "#7e8112",
"rgb": {
"r": 126,
"g": 129,
"b": 18
},
"hsl": {
"h": 61.622,
"s": 75.51,
"l": 28.824
},
"oklch": {
"l": 0.58177,
"c": 0.12278,
"h": 111.4
},
"luminance": 0.2018
}Semantic roles & 50–950 ramp
primary
#7E8112
secondary
#3C38B7
accent
#36F23B
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79