#40985F#40985F
#40985F is a mid, vivid green. Relative luminance 0.244; OKLCH L 61.1% C 0.121 H 152.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #40985F |
|---|---|
| RGB | rgb(64, 152, 95) |
| HSL | hsl(141, 41%, 42%) |
| HSV | hsv(141, 58%, 60%) |
| CMYK | cmyk(57.9%, 0%, 37.5%, 40.4%) |
| CIE-LAB | lab(56.46, -39.69, 22.29) |
| CIE-LCH | lch(56.46, 45.52, 150.69°) |
| OKLab | oklab(61.09% -0.1076 0.0558) |
| OKLCH | oklch(61.09% 0.121 152.6) |
| XYZ | xyz(15.4070, 24.3713, 14.7165) |
| Luminance | 0.2437 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Greenish
#40A368
ΔE00 3.50
Light Forest Green
#4F9153
ΔE00 3.77
Teal Green
#25A36F
ΔE00 4.68
Sea Green
#2E8B57
ΔE00 4.86
Ocean Green
#3D9973
ΔE00 5.11
Viridian
#1E9167
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40985F #984079
analogous
#4D9840 #40985F #40988B
triadic
#40985F #5F4098 #985F40
tetradic
#40985F #404D98 #984079 #988B40
square
#40985F #404D98 #984079 #988B40
split-complementary
#40985F #8B4098 #98404D
monochromatic
#1C4229 #2E6D44 #40985F #5BBA7D #86CC9F
Accessibility & contrast
On white
3.57
#40985F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#40985F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #40985F
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40985F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40985F | 1.00 | 3.57 | 5.87 | 5.87 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988C5B
Deuteranopia (green-blind)
#8C8463
Tritanopia (blue-blind)
#269689
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #40985f; /* rgb */ color: rgb(64, 152, 95); /* oklch */ color: oklch(61.1% 0.121 152.6);
Tailwind
colors: {
custom: {
50: '#7db78d',
500: '#40985f',
950: '#000000',
},
}SCSS
$custom: #40985f; $custom-light: #7db78d; $custom-dark: #000000;
JSON
{
"hex": "#40985f",
"rgb": {
"r": 64,
"g": 152,
"b": 95
},
"hsl": {
"h": 141.136,
"s": 40.741,
"l": 42.353
},
"oklch": {
"l": 0.61094,
"c": 0.12123,
"h": 152.6
},
"luminance": 0.24373
}Semantic roles & 50–950 ramp
primary
#40985F
secondary
#B77DA2
accent
#57A6D1
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D