#476F1C#476F1C
#476F1C is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.4% C 0.120 H 131.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #476F1C |
|---|---|
| RGB | rgb(71, 111, 28) |
| HSL | hsl(89, 60%, 27%) |
| HSV | hsv(89, 75%, 44%) |
| CMYK | cmyk(36%, 0%, 74.8%, 56.5%) |
| CIE-LAB | lab(42.45, -28.40, 39.57) |
| CIE-LCH | lch(42.45, 48.71, 125.67°) |
| OKLab | oklab(49.43% -0.0801 0.0891) |
| OKLCH | oklch(49.43% 0.12 131.9) |
| XYZ | xyz(8.4925, 12.7920, 3.1200) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 4.73
Camo Green
#526525
ΔE00 5.36
Camouflage Green
#4B6113
ΔE00 5.59
Muddy Green
#657432
ΔE00 6.78
Tree Green
#2A7E19
ΔE00 6.87
Dark Grass Green
#388004
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#476F1C #441C6F
analogous
#6F6E1C #476F1C #1D6F1C
triadic
#476F1C #1C476F #6F1C47
tetradic
#476F1C #1C6F6E #441C6F #6F1C1D
square
#476F1C #1C6F6E #441C6F #6F1C1D
split-complementary
#476F1C #1C1D6F #6E1C6F
monochromatic
#101806 #283E10 #476F1C #66A028 #85CD38
Accessibility & contrast
On white
5.90
#476F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#476F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #476F1C
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##476F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##476F1C | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74660E
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#486A5F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #476f1c; /* rgb */ color: rgb(71, 111, 28); /* oklch */ color: oklch(49.4% 0.120 131.9);
Tailwind
colors: {
custom: {
50: '#7e985e',
500: '#476f1c',
950: '#000000',
},
}SCSS
$custom: #476f1c; $custom-light: #7e985e; $custom-dark: #000000;
JSON
{
"hex": "#476f1c",
"rgb": {
"r": 71,
"g": 111,
"b": 28
},
"hsl": {
"h": 88.916,
"s": 59.712,
"l": 27.255
},
"oklch": {
"l": 0.49429,
"c": 0.11984,
"h": 131.9
},
"luminance": 0.12792
}Semantic roles & 50–950 ramp
primary
#476F1C
secondary
#7243A4
accent
#45E391
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0D05
muted
#7C7E79