#7E812E#7E812E
#7E812E is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.4% C 0.105 H 111.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7E812E |
|---|---|
| RGB | rgb(126, 129, 46) |
| HSL | hsl(62, 47%, 34%) |
| HSV | hsv(62, 64%, 51%) |
| CMYK | cmyk(2.3%, 0%, 64.3%, 49.4%) |
| CIE-LAB | lab(52.21, -12.59, 43.16) |
| CIE-LCH | lch(52.21, 44.96, 106.27°) |
| OKLab | oklab(58.37% -0.0381 0.0982) |
| OKLCH | oklch(58.37% 0.105 111.2) |
| XYZ | xyz(16.9481, 20.3338, 5.6163) |
| Luminance | 0.2033 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.68
Shit Green
#758000
ΔE00 4.34
Olive
#808000
ΔE00 4.41
Poop Green
#6F7C00
ΔE00 4.98
Swamp Green
#748500
ΔE00 5.11
Murky Green
#6C7A0E
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E812E #312E81
analogous
#815B2E #7E812E #55812E
triadic
#7E812E #2E7E81 #812E7E
tetradic
#7E812E #2E815B #312E81 #812E55
square
#7E812E #2E815B #312E81 #812E55
split-complementary
#7E812E #2E5581 #5B2E81
monochromatic
#26270E #52541E #7E812E #AAAE3E #C3C762
Accessibility & contrast
On white
4.14
#7E812E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#7E812E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E812E
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E812E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E812E | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B24
Deuteranopia (green-blind)
#8B7E33
Tritanopia (blue-blind)
#867970
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #7e812e; /* rgb */ color: rgb(126, 129, 46); /* oklch */ color: oklch(58.4% 0.105 111.2);
Tailwind
colors: {
custom: {
50: '#a6a56b',
500: '#7e812e',
950: '#000000',
},
}SCSS
$custom: #7e812e; $custom-light: #a6a56b; $custom-dark: #000000;
JSON
{
"hex": "#7e812e",
"rgb": {
"r": 126,
"g": 129,
"b": 46
},
"hsl": {
"h": 62.169,
"s": 47.429,
"l": 34.314
},
"oklch": {
"l": 0.58369,
"c": 0.10538,
"h": 111.2
},
"luminance": 0.20333
}Semantic roles & 50–950 ramp
primary
#7E812E
secondary
#605DAE
accent
#51D756
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A