#477E12#477E12
#477E12 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.4% C 0.145 H 134.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #477E12 |
|---|---|
| RGB | rgb(71, 126, 18) |
| HSL | hsl(91, 75%, 28%) |
| HSV | hsv(91, 86%, 49%) |
| CMYK | cmyk(43.7%, 0%, 85.7%, 50.6%) |
| CIE-LAB | lab(47.37, -35.79, 47.65) |
| CIE-LCH | lch(47.37, 59.59, 126.91°) |
| OKLab | oklab(53.44% -0.1008 0.1045) |
| OKLCH | oklch(53.44% 0.145 134) |
| XYZ | xyz(10.1684, 16.3044, 3.1834) |
| Luminance | 0.1631 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.17
Avocado
#568203
ΔE00 3.53
Tree Green
#2A7E19
ΔE00 4.16
Green
#008000
ΔE00 5.63
Sap Green
#5C8B15
ΔE00 5.78
Dirty Green
#667E2C
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#477E12 #49127E
analogous
#7D7E12 #477E12 #127E13
triadic
#477E12 #12477E #7E1247
tetradic
#477E12 #127D7E #49127E #7E1312
square
#477E12 #127D7E #49127E #7E1312
split-complementary
#477E12 #13127E #7E127D
monochromatic
#0F1B04 #29480A #477E12 #65B41A #84E12A
Accessibility & contrast
On white
4.93
#477E12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#477E12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #477E12
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##477E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##477E12 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#46796B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #477e12; /* rgb */ color: rgb(71, 126, 18); /* oklch */ color: oklch(53.4% 0.145 134.0);
Tailwind
colors: {
custom: {
50: '#80a45c',
500: '#477e12',
950: '#000000',
},
}SCSS
$custom: #477e12; $custom-light: #80a45c; $custom-dark: #000000;
JSON
{
"hex": "#477e12",
"rgb": {
"r": 71,
"g": 126,
"b": 18
},
"hsl": {
"h": 90.556,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.53438,
"c": 0.14514,
"h": 134
},
"luminance": 0.16305
}Semantic roles & 50–950 ramp
primary
#477E12
secondary
#7738B4
accent
#36F296
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79