#477B1B#477B1B
#477B1B is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.7% C 0.137 H 134.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #477B1B |
|---|---|
| RGB | rgb(71, 123, 27) |
| HSL | hsl(93, 64%, 29%) |
| HSV | hsv(93, 78%, 48%) |
| CMYK | cmyk(42.3%, 0%, 78%, 51.8%) |
| CIE-LAB | lab(46.42, -33.98, 43.89) |
| CIE-LCH | lch(46.42, 55.51, 127.75°) |
| OKLab | oklab(52.68% -0.0953 0.098) |
| OKLCH | oklch(52.68% 0.137 134.2) |
| XYZ | xyz(9.8791, 15.5841, 3.5242) |
| Luminance | 0.1558 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.05
Tree Green
#2A7E19
ΔE00 3.96
Avocado
#568203
ΔE00 4.69
Green
#008000
ΔE00 5.87
Dirty Green
#667E2C
ΔE00 6.10
Sap Green
#5C8B15
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#477B1B #4F1B7B
analogous
#777B1B #477B1B #1B7B1F
triadic
#477B1B #1B477B #7B1B47
tetradic
#477B1B #1B777B #4F1B7B #7B1F1B
square
#477B1B #1B777B #4F1B7B #7B1F1B
split-complementary
#477B1B #1F1B7B #7B1B77
monochromatic
#0E1906 #2A4910 #477B1B #64AD26 #82D43C
Accessibility & contrast
On white
5.10
#477B1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#477B1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #477B1B
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##477B1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##477B1B | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807106
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#467669
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #477b1b; /* rgb */ color: rgb(71, 123, 27); /* oklch */ color: oklch(52.7% 0.137 134.2);
Tailwind
colors: {
custom: {
50: '#7fa15f',
500: '#477b1b',
950: '#000000',
},
}SCSS
$custom: #477b1b; $custom-light: #7fa15f; $custom-dark: #000000;
JSON
{
"hex": "#477b1b",
"rgb": {
"r": 71,
"g": 123,
"b": 27
},
"hsl": {
"h": 92.5,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.52677,
"c": 0.1367,
"h": 134.2
},
"luminance": 0.15585
}Semantic roles & 50–950 ramp
primary
#477B1B
secondary
#7D43AF
accent
#41E79B
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0A0F05
muted
#7C7F79