#4D7D2C#4D7D2C
#4D7D2C is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.124 H 134.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4D7D2C |
|---|---|
| RGB | rgb(77, 125, 44) |
| HSL | hsl(96, 48%, 33%) |
| HSV | hsv(96, 65%, 49%) |
| CMYK | cmyk(38.4%, 0%, 64.8%, 51%) |
| CIE-LAB | lab(47.53, -31.29, 38.00) |
| CIE-LCH | lch(47.53, 49.23, 129.47°) |
| OKLab | oklab(53.71% -0.087 0.088) |
| OKLCH | oklch(53.71% 0.124 134.7) |
| XYZ | xyz(10.8486, 16.4264, 4.9814) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 4.59
Tree Green
#2A7E19
ΔE00 4.69
Dirty Green
#667E2C
ΔE00 5.53
Avocado
#568203
ΔE00 5.65
Swamp
#698339
ΔE00 5.76
Military Green
#667C3E
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D7D2C #5C2C7D
analogous
#757D2C #4D7D2C #2C7D34
triadic
#4D7D2C #2C4D7D #7D2C4D
tetradic
#4D7D2C #2C757D #5C2C7D #7D342C
square
#4D7D2C #2C757D #5C2C7D #7D342C
split-complementary
#4D7D2C #342C7D #7D2C75
monochromatic
#15220C #31501C #4D7D2C #69AA3C #88C65D
Accessibility & contrast
On white
4.90
#4D7D2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#4D7D2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D7D2C
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D7D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D7D2C | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827322
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#4C786C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4d7d2c; /* rgb */ color: rgb(77, 125, 44); /* oklch */ color: oklch(53.7% 0.124 134.7);
Tailwind
colors: {
custom: {
50: '#82a369',
500: '#4d7d2c',
950: '#000000',
},
}SCSS
$custom: #4d7d2c; $custom-light: #82a369; $custom-dark: #000000;
JSON
{
"hex": "#4d7d2c",
"rgb": {
"r": 77,
"g": 125,
"b": 44
},
"hsl": {
"h": 95.556,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.53707,
"c": 0.12376,
"h": 134.7
},
"luminance": 0.16427
}Semantic roles & 50–950 ramp
primary
#4D7D2C
secondary
#8A59AC
accent
#50D8A0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A