#476F19#476F19
#476F19 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.4% C 0.122 H 131.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #476F19 |
|---|---|
| RGB | rgb(71, 111, 25) |
| HSL | hsl(88, 63%, 27%) |
| HSV | hsv(88, 77%, 44%) |
| CMYK | cmyk(36%, 0%, 77.5%, 56.5%) |
| CIE-LAB | lab(42.43, -28.61, 40.73) |
| CIE-LCH | lch(42.43, 49.78, 125.08°) |
| OKLab | oklab(49.41% -0.0809 0.0911) |
| OKLCH | oklch(49.41% 0.122 131.6) |
| XYZ | xyz(8.4584, 12.7783, 2.9403) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 4.97
Camo Green
#526525
ΔE00 5.47
Camouflage Green
#4B6113
ΔE00 5.53
Dark Grass Green
#388004
ΔE00 6.81
Muddy Green
#657432
ΔE00 6.83
Tree Green
#2A7E19
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#476F19 #41196F
analogous
#6F6C19 #476F19 #1C6F19
triadic
#476F19 #19476F #6F1947
tetradic
#476F19 #196F6C #41196F #6F191C
square
#476F19 #196F6C #41196F #6F191C
split-complementary
#476F19 #191C6F #6C196F
monochromatic
#101906 #273D0E #476F19 #67A124 #87D132
Accessibility & contrast
On white
5.91
#476F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#476F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #476F19
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##476F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##476F19 | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746608
Deuteranopia (green-blind)
#6F6321
Tritanopia (blue-blind)
#486A5E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #476f19; /* rgb */ color: rgb(71, 111, 25); /* oklch */ color: oklch(49.4% 0.122 131.6);
Tailwind
colors: {
custom: {
50: '#7e985c',
500: '#476f19',
950: '#000000',
},
}SCSS
$custom: #476f19; $custom-light: #7e985c; $custom-dark: #000000;
JSON
{
"hex": "#476f19",
"rgb": {
"r": 71,
"g": 111,
"b": 25
},
"hsl": {
"h": 87.907,
"s": 63.235,
"l": 26.667
},
"oklch": {
"l": 0.49405,
"c": 0.12184,
"h": 131.6
},
"luminance": 0.12779
}Semantic roles & 50–950 ramp
primary
#476F19
secondary
#6E3FA4
accent
#42E68E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79