#4D7C1A#4D7C1A
#4D7C1A is a mid, vivid yellow-green. Relative luminance 0.161; OKLCH L 53.3% C 0.135 H 132.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4D7C1A |
|---|---|
| RGB | rgb(77, 124, 26) |
| HSL | hsl(89, 65%, 29%) |
| HSV | hsv(89, 79%, 49%) |
| CMYK | cmyk(37.9%, 0%, 79%, 51.4%) |
| CIE-LAB | lab(47.06, -32.26, 44.97) |
| CIE-LCH | lch(47.06, 55.34, 125.65°) |
| OKLab | oklab(53.28% -0.0911 0.1) |
| OKLCH | oklch(53.28% 0.135 132.3) |
| XYZ | xyz(10.4545, 16.0672, 3.5275) |
| Luminance | 0.1607 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.48
Avocado
#568203
ΔE00 3.66
Tree Green
#2A7E19
ΔE00 4.96
Dirty Green
#667E2C
ΔE00 5.10
Sap Green
#5C8B15
ΔE00 6.11
Swamp
#698339
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D7C1A #491A7C
analogous
#7C7A1A #4D7C1A #1C7C1A
triadic
#4D7C1A #1A4D7C #7C1A4D
tetradic
#4D7C1A #1A7C7A #491A7C #7C1A1C
square
#4D7C1A #1A7C7A #491A7C #7C1A1C
split-complementary
#4D7C1A #1A1C7C #7A1A7C
monochromatic
#101905 #2E490F #4D7C1A #6CAF25 #8BD63B
Accessibility & contrast
On white
4.98
#4D7C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#4D7C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D7C1A
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D7C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D7C1A | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817203
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#4E776A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4d7c1a; /* rgb */ color: rgb(77, 124, 26); /* oklch */ color: oklch(53.3% 0.135 132.3);
Tailwind
colors: {
custom: {
50: '#83a25f',
500: '#4d7c1a',
950: '#000000',
},
}SCSS
$custom: #4d7c1a; $custom-light: #83a25f; $custom-dark: #000000;
JSON
{
"hex": "#4d7c1a",
"rgb": {
"r": 77,
"g": 124,
"b": 26
},
"hsl": {
"h": 88.776,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.53282,
"c": 0.13528,
"h": 132.3
},
"luminance": 0.16068
}Semantic roles & 50–950 ramp
primary
#4D7C1A
secondary
#7742B0
accent
#40E890
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79