#40995F#40995F
#40995F is a mid, vivid green. Relative luminance 0.247; OKLCH L 61.4% C 0.123 H 152.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #40995F |
|---|---|
| RGB | rgb(64, 153, 95) |
| HSL | hsl(141, 41%, 43%) |
| HSV | hsv(141, 58%, 60%) |
| CMYK | cmyk(58.2%, 0%, 37.9%, 40%) |
| CIE-LAB | lab(56.78, -40.12, 22.72) |
| CIE-LCH | lch(56.78, 46.11, 150.48°) |
| OKLab | oklab(61.36% -0.1088 0.0568) |
| OKLCH | oklch(61.36% 0.123 152.4) |
| XYZ | xyz(15.5700, 24.6972, 14.7708) |
| Luminance | 0.2470 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Greenish
#40A368
ΔE00 3.19
Light Forest Green
#4F9153
ΔE00 3.90
Teal Green
#25A36F
ΔE00 4.53
Sea Green
#2E8B57
ΔE00 5.18
Ocean Green
#3D9973
ΔE00 5.26
Viridian
#1E9167
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40995F #99407A
analogous
#4D9940 #40995F #40998C
triadic
#40995F #5F4099 #995F40
tetradic
#40995F #404D99 #99407A #998C40
square
#40995F #404D99 #99407A #998C40
split-complementary
#40995F #8C4099 #99404D
monochromatic
#1C4329 #2E6E44 #40995F #5CBB7D #87CD9F
Accessibility & contrast
On white
3.54
#40995F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#40995F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #40995F
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40995F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40995F | 1.00 | 3.54 | 5.94 | 5.94 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998D5B
Deuteranopia (green-blind)
#8D8563
Tritanopia (blue-blind)
#26978A
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #40995f; /* rgb */ color: rgb(64, 153, 95); /* oklch */ color: oklch(61.4% 0.123 152.4);
Tailwind
colors: {
custom: {
50: '#7db88d',
500: '#40995f',
950: '#000000',
},
}SCSS
$custom: #40995f; $custom-light: #7db88d; $custom-dark: #000000;
JSON
{
"hex": "#40995f",
"rgb": {
"r": 64,
"g": 153,
"b": 95
},
"hsl": {
"h": 140.899,
"s": 41.014,
"l": 42.549
},
"oklch": {
"l": 0.61358,
"c": 0.12271,
"h": 152.4
},
"luminance": 0.24699
}Semantic roles & 50–950 ramp
primary
#40995F
secondary
#B77EA3
accent
#57A6D1
background
#F8FBF8
surface
#EFF6F0
border
#CAD0CB
text
#0A110C
muted
#7C807D