#2F874C#2F874C
#2F874C is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.6% C 0.123 H 151.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F874C |
|---|---|
| RGB | rgb(47, 135, 76) |
| HSL | hsl(140, 48%, 36%) |
| HSV | hsv(140, 65%, 53%) |
| CMYK | cmyk(65.2%, 0%, 43.7%, 47.1%) |
| CIE-LAB | lab(50.04, -39.97, 24.20) |
| CIE-LCH | lch(50.04, 46.72, 148.80°) |
| OKLab | oklab(55.57% -0.1079 0.0598) |
| OKLCH | oklch(55.57% 0.123 151) |
| XYZ | xyz(11.1399, 18.4530, 9.8108) |
| Luminance | 0.1845 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Sea Green
#2E8B57
ΔE00 2.46
Jungle Green
#048243
ΔE00 3.13
Darkish Green
#287C37
ΔE00 4.90
Dark Sea Green
#11875D
ΔE00 5.11
Light Forest Green
#4F9153
ΔE00 5.25
Dark Sage
#598556
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F874C #872F6A
analogous
#3E872F #2F874C #2F8778
triadic
#2F874C #4C2F87 #874C2F
tetradic
#2F874C #2F3E87 #872F6A #87782F
square
#2F874C #2F3E87 #872F6A #87782F
split-complementary
#2F874C #782F87 #872F3E
monochromatic
#0F2C19 #1F5A32 #2F874C #3FB466 #66CA87
Accessibility & contrast
On white
4.48
#2F874C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#2F874C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F874C
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F874C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F874C | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887C48
Deuteranopia (green-blind)
#7C7450
Tritanopia (blue-blind)
#0D8579
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f874c; /* rgb */ color: rgb(47, 135, 76); /* oklch */ color: oklch(55.6% 0.123 151.0);
Tailwind
colors: {
custom: {
50: '#72ab7f',
500: '#2f874c',
950: '#000000',
},
}SCSS
$custom: #2f874c; $custom-light: #72ab7f; $custom-dark: #000000;
JSON
{
"hex": "#2f874c",
"rgb": {
"r": 47,
"g": 135,
"b": 76
},
"hsl": {
"h": 139.773,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.55569,
"c": 0.1234,
"h": 151
},
"luminance": 0.18454
}Semantic roles & 50–950 ramp
primary
#2F874C
secondary
#B16197
accent
#50ABD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C