#477C26#477C26
#477C26 is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.0% C 0.131 H 135.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #477C26 |
|---|---|
| RGB | rgb(71, 124, 38) |
| HSL | hsl(97, 53%, 32%) |
| HSV | hsv(97, 69%, 49%) |
| CMYK | cmyk(42.7%, 0%, 69.4%, 51.4%) |
| CIE-LAB | lab(46.84, -33.58, 39.88) |
| CIE-LCH | lch(46.84, 52.14, 130.10°) |
| OKLab | oklab(53.04% -0.0934 0.0913) |
| OKLCH | oklch(53.04% 0.131 135.7) |
| XYZ | xyz(10.1558, 15.8943, 4.3661) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.71
Dark Grass Green
#388004
ΔE00 3.75
Avocado
#568203
ΔE00 5.67
Darkish Green
#287C37
ΔE00 5.90
Green
#008000
ΔE00 5.96
Dirty Green
#667E2C
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#477C26 #5B267C
analogous
#727C26 #477C26 #267C30
triadic
#477C26 #26477C #7C2647
tetradic
#477C26 #26727C #5B267C #7C3026
square
#477C26 #26727C #5B267C #7C3026
split-complementary
#477C26 #30267C #7C2672
monochromatic
#111E09 #2C4D18 #477C26 #62AB34 #80CA52
Accessibility & contrast
On white
5.03
#477C26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#477C26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #477C26
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##477C26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##477C26 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#45776A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #477c26; /* rgb */ color: rgb(71, 124, 38); /* oklch */ color: oklch(53.0% 0.131 135.7);
Tailwind
colors: {
custom: {
50: '#7fa265',
500: '#477c26',
950: '#000000',
},
}SCSS
$custom: #477c26; $custom-light: #7fa265; $custom-dark: #000000;
JSON
{
"hex": "#477c26",
"rgb": {
"r": 71,
"g": 124,
"b": 38
},
"hsl": {
"h": 96.977,
"s": 53.086,
"l": 31.765
},
"oklch": {
"l": 0.53039,
"c": 0.13055,
"h": 135.7
},
"luminance": 0.15895
}Semantic roles & 50–950 ramp
primary
#477C26
secondary
#8A50AE
accent
#4BDCA5
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F06
muted
#7C7F7A