#476F22#476F22
#476F22 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.5% C 0.115 H 132.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #476F22 |
|---|---|
| RGB | rgb(71, 111, 34) |
| HSL | hsl(91, 53%, 28%) |
| HSV | hsv(91, 69%, 44%) |
| CMYK | cmyk(36%, 0%, 69.4%, 56.5%) |
| CIE-LAB | lab(42.50, -27.92, 37.04) |
| CIE-LCH | lch(42.50, 46.38, 127.00°) |
| OKLab | oklab(49.48% -0.0783 0.0847) |
| OKLCH | oklch(49.48% 0.115 132.7) |
| XYZ | xyz(8.5716, 12.8236, 3.5366) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 4.31
Camo Green
#526525
ΔE00 5.23
Camouflage Green
#4B6113
ΔE00 5.82
Muddy Green
#657432
ΔE00 6.73
Tree Green
#2A7E19
ΔE00 6.90
Army Green
#4B5D16
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#476F22 #4A226F
analogous
#6D6F22 #476F22 #226F24
triadic
#476F22 #22476F #6F2247
tetradic
#476F22 #226D6F #4A226F #6F2422
square
#476F22 #226D6F #4A226F #6F2422
split-complementary
#476F22 #24226F #6F226D
monochromatic
#0F1707 #294014 #476F22 #659E30 #83C645
Accessibility & contrast
On white
5.89
#476F22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#476F22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #476F22
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##476F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##476F22 | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746618
Deuteranopia (green-blind)
#6E6328
Tritanopia (blue-blind)
#486A5F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #476f22; /* rgb */ color: rgb(71, 111, 34); /* oklch */ color: oklch(49.5% 0.115 132.7);
Tailwind
colors: {
custom: {
50: '#7d9861',
500: '#476f22',
950: '#000000',
},
}SCSS
$custom: #476f22; $custom-light: #7d9861; $custom-dark: #000000;
JSON
{
"hex": "#476f22",
"rgb": {
"r": 71,
"g": 111,
"b": 34
},
"hsl": {
"h": 91.169,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.49484,
"c": 0.11536,
"h": 132.7
},
"luminance": 0.12824
}Semantic roles & 50–950 ramp
primary
#476F22
secondary
#784AA2
accent
#4BDD97
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79