#4D7C1D#4D7C1D
#4D7C1D is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.133 H 132.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4D7C1D |
|---|---|
| RGB | rgb(77, 124, 29) |
| HSL | hsl(90, 62%, 30%) |
| HSV | hsv(90, 77%, 49%) |
| CMYK | cmyk(37.9%, 0%, 76.6%, 51.4%) |
| CIE-LAB | lab(47.08, -32.06, 43.90) |
| CIE-LCH | lch(47.08, 54.36, 126.14°) |
| OKLab | oklab(53.3% -0.0904 0.0983) |
| OKLCH | oklch(53.3% 0.133 132.6) |
| XYZ | xyz(10.4899, 16.0813, 3.7135) |
| Luminance | 0.1608 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.57
Avocado
#568203
ΔE00 3.93
Tree Green
#2A7E19
ΔE00 4.85
Dirty Green
#667E2C
ΔE00 5.09
Swamp
#698339
ΔE00 6.12
Sap Green
#5C8B15
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D7C1D #4C1D7C
analogous
#7C7C1D #4D7C1D #1D7C1D
triadic
#4D7C1D #1D4D7C #7C1D4D
tetradic
#4D7C1D #1D7C7C #4C1D7C #7C1D1D
square
#4D7C1D #1D7C7C #4C1D7C #7C1D1D
split-complementary
#4D7C1D #1D1D7C #7C1D7C
monochromatic
#0F1906 #2E4A11 #4D7C1D #6CAE29 #8AD341
Accessibility & contrast
On white
4.98
#4D7C1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#4D7C1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D7C1D
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D7C1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D7C1D | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720A
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#4E776A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4d7c1d; /* rgb */ color: rgb(77, 124, 29); /* oklch */ color: oklch(53.3% 0.133 132.6);
Tailwind
colors: {
custom: {
50: '#83a260',
500: '#4d7c1d',
950: '#000000',
},
}SCSS
$custom: #4d7c1d; $custom-light: #83a260; $custom-dark: #000000;
JSON
{
"hex": "#4d7c1d",
"rgb": {
"r": 77,
"g": 124,
"b": 29
},
"hsl": {
"h": 89.684,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.53303,
"c": 0.13349,
"h": 132.6
},
"luminance": 0.16082
}Semantic roles & 50–950 ramp
primary
#4D7C1D
secondary
#7A45B0
accent
#43E593
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79