#476A1B#476A1B
#476A1B is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.1% C 0.114 H 130.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #476A1B |
|---|---|
| RGB | rgb(71, 106, 27) |
| HSL | hsl(87, 59%, 26%) |
| HSV | hsv(87, 75%, 42%) |
| CMYK | cmyk(33%, 0%, 74.5%, 58.4%) |
| CIE-LAB | lab(40.78, -26.07, 38.29) |
| CIE-LCH | lch(40.78, 46.32, 124.24°) |
| OKLab | oklab(48.07% -0.0738 0.0863) |
| OKLCH | oklch(48.07% 0.114 130.5) |
| XYZ | xyz(7.9503, 11.7265, 2.8813) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camouflage Green
#4B6113
ΔE00 3.92
Camo Green
#526525
ΔE00 3.96
Darkolivegreen
#556B2F
ΔE00 4.04
Army Green
#4B5D16
ΔE00 5.33
Muddy Green
#657432
ΔE00 6.98
Navy Green
#35530A
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#476A1B #3E1B6A
analogous
#6A651B #476A1B #206A1B
triadic
#476A1B #1B476A #6A1B47
tetradic
#476A1B #1B6A65 #3E1B6A #6A1B20
square
#476A1B #1B6A65 #3E1B6A #6A1B20
split-complementary
#476A1B #1B206A #651B6A
monochromatic
#101806 #26390F #476A1B #689B27 #88CB34
Accessibility & contrast
On white
6.28
#476A1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#476A1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #476A1B
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##476A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##476A1B | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F620E
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#49655A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #476a1b; /* rgb */ color: rgb(71, 106, 27); /* oklch */ color: oklch(48.1% 0.114 130.5);
Tailwind
colors: {
custom: {
50: '#7d955d',
500: '#476a1b',
950: '#000000',
},
}SCSS
$custom: #476a1b; $custom-light: #7d955d; $custom-dark: #000000;
JSON
{
"hex": "#476a1b",
"rgb": {
"r": 71,
"g": 106,
"b": 27
},
"hsl": {
"h": 86.582,
"s": 59.398,
"l": 26.078
},
"oklch": {
"l": 0.48066,
"c": 0.11358,
"h": 130.5
},
"luminance": 0.11727
}Semantic roles & 50–950 ramp
primary
#476A1B
secondary
#6B429F
accent
#45E38B
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79