#2F8E27#2F8E27

#2F8E27 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.165 H 142.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2F8E27
RGBrgb(47, 142, 39)
HSLhsl(115, 57%, 35%)
HSVhsv(115, 73%, 56%)
CMYKcmyk(66.9%, 0%, 72.5%, 44.3%)
CIE-LABlab(51.95, -47.66, 44.55)
CIE-LCHlch(51.95, 65.24, 136.93°)
OKLaboklab(57% -0.1298 0.1014)
OKLCHoklch(57% 0.165 142)
XYZxyz(11.2109, 20.0957, 5.2071)
Luminance0.2010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E27 #86278E
analogous
#628E27 #2F8E27 #278E52
triadic
#2F8E27 #272F8E #8E272F
tetradic
#2F8E27 #27628E #86278E #8E5227
square
#2F8E27 #27628E #86278E #8E5227
split-complementary
#2F8E27 #52278E #8E2762
monochromatic
#0F2E0D #1F5E1A #2F8E27 #3FBE34 #66D25D

Accessibility & contrast

On white

4.18
#2F8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2F8E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E27
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E27#FFFFFF#000000##000000
##2F8E271.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918116
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#1C8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e27;
/* rgb */ color: rgb(47, 142, 39);
/* oklch */ color: oklch(57.0% 0.165 142.0);
Tailwind
colors: {
  custom: {
    50: '#75b067',
    500: '#2f8e27',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e27;
$custom-light: #75b067;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e27",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 115.34,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57,
    "c": 0.16478,
    "h": 142
  },
  "luminance": 0.20097
}

Semantic roles & 50–950 ramp

primary
#2F8E27
secondary
#B059B8
accent
#48E0D4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2F8E27

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F8E27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva