#476F15#476F15
#476F15 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.4% C 0.124 H 131.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #476F15 |
|---|---|
| RGB | rgb(71, 111, 21) |
| HSL | hsl(87, 68%, 26%) |
| HSV | hsv(87, 81%, 44%) |
| CMYK | cmyk(36%, 0%, 81.1%, 56.5%) |
| CIE-LAB | lab(42.40, -28.86, 42.16) |
| CIE-LCH | lch(42.40, 51.09, 124.39°) |
| OKLab | oklab(49.38% -0.0819 0.0934) |
| OKLCH | oklch(49.38% 0.124 131.2) |
| XYZ | xyz(8.4183, 12.7623, 2.7291) |
| Luminance | 0.1276 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 5.27
Camouflage Green
#4B6113
ΔE00 5.50
Camo Green
#526525
ΔE00 5.63
Dark Grass Green
#388004
ΔE00 6.71
Muddy Green
#657432
ΔE00 6.93
Tree Green
#2A7E19
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#476F15 #3D156F
analogous
#6F6A15 #476F15 #1A6F15
triadic
#476F15 #15476F #6F1547
tetradic
#476F15 #156F6A #3D156F #6F151A
square
#476F15 #156F6A #3D156F #6F151A
split-complementary
#476F15 #151A6F #6A156F
monochromatic
#101A05 #263C0B #476F15 #68A21F #89D628
Accessibility & contrast
On white
5.91
#476F15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#476F15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #476F15
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##476F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##476F15 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#486A5E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #476f15; /* rgb */ color: rgb(71, 111, 21); /* oklch */ color: oklch(49.4% 0.124 131.2);
Tailwind
colors: {
custom: {
50: '#7e985b',
500: '#476f15',
950: '#000000',
},
}SCSS
$custom: #476f15; $custom-light: #7e985b; $custom-dark: #000000;
JSON
{
"hex": "#476f15",
"rgb": {
"r": 71,
"g": 111,
"b": 21
},
"hsl": {
"h": 86.667,
"s": 68.182,
"l": 25.882
},
"oklch": {
"l": 0.49378,
"c": 0.12424,
"h": 131.2
},
"luminance": 0.12763
}Semantic roles & 50–950 ramp
primary
#476F15
secondary
#6A3AA5
accent
#3DEB8A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D04
muted
#7C7E79