#476F23#476F23
#476F23 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.5% C 0.115 H 132.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #476F23 |
|---|---|
| RGB | rgb(71, 111, 35) |
| HSL | hsl(92, 52%, 29%) |
| HSV | hsv(92, 68%, 44%) |
| CMYK | cmyk(36%, 0%, 68.5%, 56.5%) |
| CIE-LAB | lab(42.51, -27.83, 36.60) |
| CIE-LCH | lch(42.51, 45.98, 127.25°) |
| OKLab | oklab(49.49% -0.0779 0.0839) |
| OKLCH | oklch(49.49% 0.115 132.9) |
| XYZ | xyz(8.5862, 12.8295, 3.6137) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 4.25
Camo Green
#526525
ΔE00 5.23
Camouflage Green
#4B6113
ΔE00 5.88
Muddy Green
#657432
ΔE00 6.73
Tree Green
#2A7E19
ΔE00 6.92
Army Green
#4B5D16
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#476F23 #4B236F
analogous
#6D6F23 #476F23 #236F25
triadic
#476F23 #23476F #6F2347
tetradic
#476F23 #236D6F #4B236F #6F2523
square
#476F23 #236D6F #4B236F #6F2523
split-complementary
#476F23 #25236F #6F236D
monochromatic
#0F1707 #294014 #476F23 #659E32 #83C547
Accessibility & contrast
On white
5.89
#476F23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#476F23 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #476F23
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##476F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##476F23 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746619
Deuteranopia (green-blind)
#6E6329
Tritanopia (blue-blind)
#486A5F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #476f23; /* rgb */ color: rgb(71, 111, 35); /* oklch */ color: oklch(49.5% 0.115 132.9);
Tailwind
colors: {
custom: {
50: '#7d9862',
500: '#476f23',
950: '#000000',
},
}SCSS
$custom: #476f23; $custom-light: #7d9862; $custom-dark: #000000;
JSON
{
"hex": "#476f23",
"rgb": {
"r": 71,
"g": 111,
"b": 35
},
"hsl": {
"h": 91.579,
"s": 52.055,
"l": 28.627
},
"oklch": {
"l": 0.49494,
"c": 0.11455,
"h": 132.9
},
"luminance": 0.1283
}Semantic roles & 50–950 ramp
primary
#476F23
secondary
#794CA2
accent
#4CDB98
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0D05
muted
#7C7E79