#477C18#477C18
#477C18 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.9% C 0.140 H 134.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #477C18 |
|---|---|
| RGB | rgb(71, 124, 24) |
| HSL | hsl(92, 68%, 29%) |
| HSV | hsv(92, 81%, 49%) |
| CMYK | cmyk(42.7%, 0%, 80.6%, 51.4%) |
| CIE-LAB | lab(46.74, -34.61, 45.24) |
| CIE-LCH | lch(46.74, 56.96, 127.42°) |
| OKLab | oklab(52.93% -0.0972 0.1004) |
| OKLCH | oklch(52.93% 0.14 134.1) |
| XYZ | xyz(9.9709, 15.8203, 3.3922) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.68
Tree Green
#2A7E19
ΔE00 3.97
Avocado
#568203
ΔE00 4.26
Green
#008000
ΔE00 5.74
Dirty Green
#667E2C
ΔE00 6.08
Sap Green
#5C8B15
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#477C18 #4D187C
analogous
#797C18 #477C18 #187C1B
triadic
#477C18 #18477C #7C1847
tetradic
#477C18 #18797C #4D187C #7C1B18
square
#477C18 #18797C #4D187C #7C1B18
split-complementary
#477C18 #1B187C #7C1879
monochromatic
#0F1A05 #2A490E #477C18 #64AF22 #82D836
Accessibility & contrast
On white
5.04
#477C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#477C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #477C18
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##477C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##477C18 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#467769
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #477c18; /* rgb */ color: rgb(71, 124, 24); /* oklch */ color: oklch(52.9% 0.140 134.1);
Tailwind
colors: {
custom: {
50: '#7fa25e',
500: '#477c18',
950: '#000000',
},
}SCSS
$custom: #477c18; $custom-light: #7fa25e; $custom-dark: #000000;
JSON
{
"hex": "#477c18",
"rgb": {
"r": 71,
"g": 124,
"b": 24
},
"hsl": {
"h": 91.8,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.52928,
"c": 0.13971,
"h": 134.1
},
"luminance": 0.15821
}Semantic roles & 50–950 ramp
primary
#477C18
secondary
#7B3FB1
accent
#3DEA99
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79