#407B2C#407B2C
#407B2C is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.5% C 0.128 H 138.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #407B2C |
|---|---|
| RGB | rgb(64, 123, 44) |
| HSL | hsl(105, 47%, 33%) |
| HSV | hsv(105, 64%, 48%) |
| CMYK | cmyk(48%, 0%, 64.2%, 51.8%) |
| CIE-LAB | lab(46.23, -34.95, 36.37) |
| CIE-LCH | lch(46.23, 50.45, 133.86°) |
| OKLab | oklab(52.47% -0.0962 0.0847) |
| OKLCH | oklch(52.47% 0.128 138.6) |
| XYZ | xyz(9.6516, 15.4371, 4.8535) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.41
Darkish Green
#287C37
ΔE00 4.12
Dark Grass Green
#388004
ΔE00 4.75
Green
#008000
ΔE00 5.80
Forestgreen (CSS)
#228B22
ΔE00 6.53
Fern Green
#548D44
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#407B2C #672C7B
analogous
#677B2C #407B2C #2C7B3F
triadic
#407B2C #2C407B #7B2C40
tetradic
#407B2C #2C677B #672C7B #7B3F2C
square
#407B2C #2C677B #672C7B #7B3F2C
split-complementary
#407B2C #3F2C7B #7B2C67
monochromatic
#11210C #294E1C #407B2C #57A83C #77C55D
Accessibility & contrast
On white
5.14
#407B2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#407B2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #407B2C
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##407B2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##407B2C | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7123
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#3C776A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #407b2c; /* rgb */ color: rgb(64, 123, 44); /* oklch */ color: oklch(52.5% 0.128 138.6);
Tailwind
colors: {
custom: {
50: '#7aa268',
500: '#407b2c',
950: '#000000',
},
}SCSS
$custom: #407b2c; $custom-light: #7aa268; $custom-dark: #000000;
JSON
{
"hex": "#407b2c",
"rgb": {
"r": 64,
"g": 123,
"b": 44
},
"hsl": {
"h": 104.81,
"s": 47.305,
"l": 32.745
},
"oklch": {
"l": 0.52468,
"c": 0.12813,
"h": 138.6
},
"luminance": 0.15438
}Semantic roles & 50–950 ramp
primary
#407B2C
secondary
#9658AB
accent
#51D7B5
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#0A0F06
muted
#7C7F7A