#7D7F2E#7D7F2E
#7D7F2E is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.8% C 0.103 H 110.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7F2E |
|---|---|
| RGB | rgb(125, 127, 46) |
| HSL | hsl(61, 47%, 34%) |
| HSV | hsv(61, 64%, 50%) |
| CMYK | cmyk(1.6%, 0%, 63.8%, 50.2%) |
| CIE-LAB | lab(51.54, -11.96, 42.41) |
| CIE-LCH | lch(51.54, 44.07, 105.75°) |
| OKLab | oklab(57.81% -0.0363 0.0967) |
| OKLCH | oklch(57.81% 0.103 110.6) |
| XYZ | xyz(16.5404, 19.7364, 5.5224) |
| Luminance | 0.1974 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.69
Shit Green
#758000
ΔE00 4.54
Olive
#808000
ΔE00 4.56
Olive Drab
#6F7632
ΔE00 4.77
Poop Green
#6F7C00
ΔE00 4.95
Murky Green
#6C7A0E
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7F2E #302E7F
analogous
#7F592E #7D7F2E #557F2E
triadic
#7D7F2E #2E7D7F #7F2E7D
tetradic
#7D7F2E #2E7F59 #302E7F #7F2E55
square
#7D7F2E #2E7F59 #302E7F #7F2E55
split-complementary
#7D7F2E #2E557F #592E7F
monochromatic
#25250D #51521E #7D7F2E #A9AC3E #C3C661
Accessibility & contrast
On white
4.24
#7D7F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#7D7F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7F2E
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7F2E | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A24
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#85776E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7d7f2e; /* rgb */ color: rgb(125, 127, 46); /* oklch */ color: oklch(57.8% 0.103 110.6);
Tailwind
colors: {
custom: {
50: '#a5a36b',
500: '#7d7f2e',
950: '#000000',
},
}SCSS
$custom: #7d7f2e; $custom-light: #a5a36b; $custom-dark: #000000;
JSON
{
"hex": "#7d7f2e",
"rgb": {
"r": 125,
"g": 127,
"b": 46
},
"hsl": {
"h": 61.481,
"s": 46.821,
"l": 33.922
},
"oklch": {
"l": 0.5781,
"c": 0.10328,
"h": 110.6
},
"luminance": 0.19736
}Semantic roles & 50–950 ramp
primary
#7D7F2E
secondary
#5E5CAD
accent
#51D655
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F07
muted
#7F7F7A