#2F945C#2F945C
#2F945C is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.4% C 0.126 H 154.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2F945C |
|---|---|
| RGB | rgb(47, 148, 92) |
| HSL | hsl(147, 52%, 38%) |
| HSV | hsv(147, 68%, 58%) |
| CMYK | cmyk(68.2%, 0%, 37.8%, 42%) |
| CIE-LAB | lab(54.61, -42.25, 21.39) |
| CIE-LCH | lch(54.61, 47.35, 153.15°) |
| OKLab | oklab(59.42% -0.1143 0.0536) |
| OKLCH | oklch(59.42% 0.126 154.9) |
| XYZ | xyz(13.6927, 22.5554, 13.7551) |
| Luminance | 0.2256 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Sea Green
#2E8B57
ΔE00 3.14
Viridian
#1E9167
ΔE00 3.95
Light Forest Green
#4F9153
ΔE00 4.49
Greenish
#40A368
ΔE00 5.07
Ocean Green
#3D9973
ΔE00 5.19
Teal Green
#25A36F
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F945C #942F67
analogous
#34942F #2F945C #2F948E
triadic
#2F945C #5C2F94 #945C2F
tetradic
#2F945C #2F3494 #942F67 #948E2F
square
#2F945C #2F3494 #942F67 #948E2F
split-complementary
#2F945C #8E2F94 #942F34
monochromatic
#113722 #20663F #2F945C #3EC279 #6DD199
Accessibility & contrast
On white
3.81
#2F945C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#2F945C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F945C
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F945C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F945C | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948858
Deuteranopia (green-blind)
#877F60
Tritanopia (blue-blind)
#009286
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #2f945c; /* rgb */ color: rgb(47, 148, 92); /* oklch */ color: oklch(59.4% 0.126 154.9);
Tailwind
colors: {
custom: {
50: '#74b48a',
500: '#2f945c',
950: '#000000',
},
}SCSS
$custom: #2f945c; $custom-light: #74b48a; $custom-dark: #000000;
JSON
{
"hex": "#2f945c",
"rgb": {
"r": 47,
"g": 148,
"b": 92
},
"hsl": {
"h": 146.733,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.59421,
"c": 0.12624,
"h": 154.9
},
"luminance": 0.22557
}Semantic roles & 50–950 ramp
primary
#2F945C
secondary
#B86794
accent
#4D9CDB
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110C
muted
#7B807D