#2F945F#2F945F
#2F945F is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.5% C 0.123 H 156.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2F945F |
|---|---|
| RGB | rgb(47, 148, 95) |
| HSL | hsl(149, 52%, 38%) |
| HSV | hsv(149, 68%, 58%) |
| CMYK | cmyk(68.2%, 0%, 35.8%, 42%) |
| CIE-LAB | lab(54.67, -41.64, 19.80) |
| CIE-LCH | lch(54.67, 46.11, 154.56°) |
| OKLab | oklab(59.49% -0.1128 0.0498) |
| OKLCH | oklch(59.49% 0.123 156.2) |
| XYZ | xyz(13.8265, 22.6089, 14.4595) |
| Luminance | 0.2261 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Sea Green
#2E8B57
ΔE00 3.15
Viridian
#1E9167
ΔE00 3.30
Ocean Green
#3D9973
ΔE00 4.54
Light Forest Green
#4F9153
ΔE00 4.94
Teal Green
#25A36F
ΔE00 5.03
Greenish
#40A368
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F945F #942F64
analogous
#31942F #2F945F #2F9491
triadic
#2F945F #5F2F94 #945F2F
tetradic
#2F945F #2F3194 #942F64 #94912F
square
#2F945F #2F3194 #942F64 #94912F
split-complementary
#2F945F #912F94 #942F31
monochromatic
#113723 #206641 #2F945F #3EC27D #6DD19C
Accessibility & contrast
On white
3.80
#2F945F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#2F945F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F945F
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F945F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F945F | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93885C
Deuteranopia (green-blind)
#867F62
Tritanopia (blue-blind)
#009386
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #2f945f; /* rgb */ color: rgb(47, 148, 95); /* oklch */ color: oklch(59.5% 0.123 156.2);
Tailwind
colors: {
custom: {
50: '#74b48c',
500: '#2f945f',
950: '#000000',
},
}SCSS
$custom: #2f945f; $custom-light: #74b48c; $custom-dark: #000000;
JSON
{
"hex": "#2f945f",
"rgb": {
"r": 47,
"g": 148,
"b": 95
},
"hsl": {
"h": 148.515,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.59485,
"c": 0.12335,
"h": 156.2
},
"luminance": 0.2261
}Semantic roles & 50–950 ramp
primary
#2F945F
secondary
#B86791
accent
#4D97DB
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110C
muted
#7B807D