#4C7F14#4C7F14
#4C7F14 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.0% C 0.143 H 132.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7F14 |
|---|---|
| RGB | rgb(76, 127, 20) |
| HSL | hsl(89, 73%, 29%) |
| HSV | hsv(89, 84%, 50%) |
| CMYK | cmyk(40.2%, 0%, 84.3%, 50.2%) |
| CIE-LAB | lab(47.96, -34.31, 47.71) |
| CIE-LCH | lch(47.96, 58.76, 125.72°) |
| OKLab | oklab(53.99% -0.097 0.1048) |
| OKLCH | oklch(53.99% 0.143 132.8) |
| XYZ | xyz(10.6960, 16.7652, 3.3341) |
| Luminance | 0.1677 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.78
Dark Grass Green
#388004
ΔE00 2.82
Tree Green
#2A7E19
ΔE00 4.92
Sap Green
#5C8B15
ΔE00 5.06
Dirty Green
#667E2C
ΔE00 5.44
Mossy Green
#638B27
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7F14 #47147F
analogous
#7F7D14 #4C7F14 #177F14
triadic
#4C7F14 #144C7F #7F144C
tetradic
#4C7F14 #147F7D #47147F #7F1417
square
#4C7F14 #147F7D #47147F #7F1417
split-complementary
#4C7F14 #14177F #7D147F
monochromatic
#101A04 #2C4A0C #4C7F14 #6CB41C #8BDE2F
Accessibility & contrast
On white
4.82
#4C7F14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#4C7F14 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C7F14
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7F14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C7F14 | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7E7021
Tritanopia (blue-blind)
#4C7A6C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4c7f14; /* rgb */ color: rgb(76, 127, 20); /* oklch */ color: oklch(54.0% 0.143 132.8);
Tailwind
colors: {
custom: {
50: '#83a45d',
500: '#4c7f14',
950: '#000000',
},
}SCSS
$custom: #4c7f14; $custom-light: #83a45d; $custom-dark: #000000;
JSON
{
"hex": "#4c7f14",
"rgb": {
"r": 76,
"g": 127,
"b": 20
},
"hsl": {
"h": 88.598,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.53994,
"c": 0.14279,
"h": 132.8
},
"luminance": 0.16766
}Semantic roles & 50–950 ramp
primary
#4C7F14
secondary
#753BB4
accent
#38EF90
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79