#7D812E#7D812E
#7D812E is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.3% C 0.106 H 111.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7D812E |
|---|---|
| RGB | rgb(125, 129, 46) |
| HSL | hsl(63, 47%, 34%) |
| HSV | hsv(63, 64%, 51%) |
| CMYK | cmyk(3.1%, 0%, 64.3%, 49.4%) |
| CIE-LAB | lab(52.13, -13.04, 43.04) |
| CIE-LCH | lch(52.13, 44.98, 106.86°) |
| OKLab | oklab(58.28% -0.0393 0.098) |
| OKLCH | oklch(58.28% 0.106 111.9) |
| XYZ | xyz(16.8013, 20.2581, 5.6094) |
| Luminance | 0.2026 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.72
Shit Green
#758000
ΔE00 4.25
Olive
#808000
ΔE00 4.55
Poop Green
#6F7C00
ΔE00 4.84
Murky Green
#6C7A0E
ΔE00 4.94
Khaki Green
#728639
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D812E #322E81
analogous
#815C2E #7D812E #54812E
triadic
#7D812E #2E7D81 #812E7D
tetradic
#7D812E #2E815C #322E81 #812E54
square
#7D812E #2E815C #322E81 #812E54
split-complementary
#7D812E #2E5481 #5C2E81
monochromatic
#26270E #51541E #7D812E #A9AE3E #C2C762
Accessibility & contrast
On white
4.16
#7D812E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#7D812E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D812E
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D812E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D812E | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B24
Deuteranopia (green-blind)
#8B7D33
Tritanopia (blue-blind)
#857970
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #7d812e; /* rgb */ color: rgb(125, 129, 46); /* oklch */ color: oklch(58.3% 0.106 111.9);
Tailwind
colors: {
custom: {
50: '#a5a56b',
500: '#7d812e',
950: '#000000',
},
}SCSS
$custom: #7d812e; $custom-light: #a5a56b; $custom-dark: #000000;
JSON
{
"hex": "#7d812e",
"rgb": {
"r": 125,
"g": 129,
"b": 46
},
"hsl": {
"h": 62.892,
"s": 47.429,
"l": 34.314
},
"oklch": {
"l": 0.58281,
"c": 0.10563,
"h": 111.9
},
"luminance": 0.20258
}Semantic roles & 50–950 ramp
primary
#7D812E
secondary
#615DAE
accent
#51D757
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A