#4D7D1C#4D7D1C
#4D7D1C is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.6% C 0.135 H 132.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4D7D1C |
|---|---|
| RGB | rgb(77, 125, 28) |
| HSL | hsl(90, 63%, 30%) |
| HSV | hsv(90, 78%, 49%) |
| CMYK | cmyk(38.4%, 0%, 77.6%, 51%) |
| CIE-LAB | lab(47.40, -32.59, 44.58) |
| CIE-LCH | lch(47.40, 55.22, 126.16°) |
| OKLab | oklab(53.56% -0.0919 0.0995) |
| OKLCH | oklch(53.56% 0.135 132.7) |
| XYZ | xyz(10.6036, 16.3284, 3.6914) |
| Luminance | 0.1633 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.35
Avocado
#568203
ΔE00 3.63
Tree Green
#2A7E19
ΔE00 4.81
Dirty Green
#667E2C
ΔE00 5.11
Sap Green
#5C8B15
ΔE00 5.87
Swamp
#698339
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D7D1C #4C1C7D
analogous
#7D7D1C #4D7D1C #1C7D1C
triadic
#4D7D1C #1C4D7D #7D1C4D
tetradic
#4D7D1C #1C7D7D #4C1C7D #7D1C1C
square
#4D7D1C #1C7D7D #4C1C7D #7D1C1C
split-complementary
#4D7D1C #1C1C7D #7D1C7D
monochromatic
#0F1906 #2E4B11 #4D7D1C #6CAF27 #8AD43F
Accessibility & contrast
On white
4.92
#4D7D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#4D7D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D7D1C
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D7D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D7D1C | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827307
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#4E786B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4d7d1c; /* rgb */ color: rgb(77, 125, 28); /* oklch */ color: oklch(53.6% 0.135 132.7);
Tailwind
colors: {
custom: {
50: '#83a360',
500: '#4d7d1c',
950: '#000000',
},
}SCSS
$custom: #4d7d1c; $custom-light: #83a360; $custom-dark: #000000;
JSON
{
"hex": "#4d7d1c",
"rgb": {
"r": 77,
"g": 125,
"b": 28
},
"hsl": {
"h": 89.691,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.53563,
"c": 0.13543,
"h": 132.7
},
"luminance": 0.16329
}Semantic roles & 50–950 ramp
primary
#4D7D1C
secondary
#7A44B1
accent
#41E693
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79