#4F761A#4F761A
#4F761A is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.126 H 130.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4F761A |
|---|---|
| RGB | rgb(79, 118, 26) |
| HSL | hsl(85, 64%, 28%) |
| HSV | hsv(85, 78%, 46%) |
| CMYK | cmyk(33.1%, 0%, 78%, 53.7%) |
| CIE-LAB | lab(45.21, -28.67, 43.23) |
| CIE-LCH | lch(45.21, 51.88, 123.56°) |
| OKLab | oklab(51.8% -0.0815 0.0963) |
| OKLCH | oklch(51.8% 0.126 130.3) |
| XYZ | xyz(9.8893, 14.6934, 3.2921) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 5.13
Dirty Green
#667E2C
ΔE00 5.16
Dark Grass Green
#388004
ΔE00 5.30
Muddy Green
#657432
ΔE00 5.95
Darkolivegreen
#556B2F
ΔE00 6.09
Tree Green
#2A7E19
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F761A #411A76
analogous
#766F1A #4F761A #21761A
triadic
#4F761A #1A4F76 #761A4F
tetradic
#4F761A #1A766F #411A76 #761A21
square
#4F761A #1A766F #411A76 #761A21
split-complementary
#4F761A #1A2176 #6F1A76
monochromatic
#111906 #2D440F #4F761A #71A825 #91D337
Accessibility & contrast
On white
5.33
#4F761A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#4F761A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F761A
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F761A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F761A | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D06
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#517164
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4f761a; /* rgb */ color: rgb(79, 118, 26); /* oklch */ color: oklch(51.8% 0.126 130.3);
Tailwind
colors: {
custom: {
50: '#849d5e',
500: '#4f761a',
950: '#000000',
},
}SCSS
$custom: #4f761a; $custom-light: #849d5e; $custom-dark: #000000;
JSON
{
"hex": "#4f761a",
"rgb": {
"r": 79,
"g": 118,
"b": 26
},
"hsl": {
"h": 85.435,
"s": 63.889,
"l": 28.235
},
"oklch": {
"l": 0.51802,
"c": 0.1262,
"h": 130.3
},
"luminance": 0.14694
}Semantic roles & 50–950 ramp
primary
#4F761A
secondary
#6E41AB
accent
#41E787
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79