#4D8F16#4D8F16
#4D8F16 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.3% C 0.161 H 135.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4D8F16 |
|---|---|
| RGB | rgb(77, 143, 22) |
| HSL | hsl(93, 73%, 32%) |
| HSV | hsv(93, 85%, 56%) |
| CMYK | cmyk(46.2%, 0%, 84.6%, 43.9%) |
| CIE-LAB | lab(53.25, -40.71, 51.94) |
| CIE-LCH | lch(53.25, 65.99, 128.09°) |
| OKLab | oklab(58.35% -0.1141 0.114) |
| OKLCH | oklch(58.35% 0.161 135) |
| XYZ | xyz(13.0276, 21.2798, 4.1799) |
| Luminance | 0.2128 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 2.98
Mossy Green
#638B27
ΔE00 4.00
Grass Green
#3F9B0B
ΔE00 4.28
Grassy Green
#419C03
ΔE00 4.57
True Green
#089404
ΔE00 5.13
Olivedrab
#6B8E23
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D8F16 #58168F
analogous
#8A8F16 #4D8F16 #168F1B
triadic
#4D8F16 #164D8F #8F164D
tetradic
#4D8F16 #168A8F #58168F #8F1B16
square
#4D8F16 #168A8F #58168F #8F1B16
split-complementary
#4D8F16 #1B168F #8F168A
monochromatic
#142506 #305A0E #4D8F16 #6AC41E #88E13E
Accessibility & contrast
On white
4.00
#4D8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#4D8F16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D8F16
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D8F16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D8F16 | 1.00 | 4.00 | 5.26 | 5.26 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#4B8979
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4d8f16; /* rgb */ color: rgb(77, 143, 22); /* oklch */ color: oklch(58.3% 0.161 135.0);
Tailwind
colors: {
custom: {
50: '#86b060',
500: '#4d8f16',
950: '#000000',
},
}SCSS
$custom: #4d8f16; $custom-light: #86b060; $custom-dark: #000000;
JSON
{
"hex": "#4d8f16",
"rgb": {
"r": 77,
"g": 143,
"b": 22
},
"hsl": {
"h": 92.727,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.58349,
"c": 0.16131,
"h": 135
},
"luminance": 0.21281
}Semantic roles & 50–950 ramp
primary
#4D8F16
secondary
#863FC1
accent
#38F09C
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A