#2F9D27#2F9D27

#2F9D27 is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.1% C 0.183 H 142.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2F9D27
RGBrgb(47, 157, 39)
HSLhsl(116, 60%, 38%)
HSVhsv(116, 75%, 62%)
CMYKcmyk(70.1%, 0%, 75.2%, 38.4%)
CIE-LABlab(56.94, -52.92, 49.65)
CIE-LCHlch(56.94, 72.56, 136.83°)
OKLaboklab(61.14% -0.1441 0.1121)
OKLCHoklch(61.14% 0.183 142.1)
XYZxyz(13.5947, 24.8633, 6.0017)
Luminance0.2487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9D27 #95279D
analogous
#6A9D27 #2F9D27 #279D5A
triadic
#2F9D27 #272F9D #9D272F
tetradic
#2F9D27 #276A9D #95279D #9D5A27
square
#2F9D27 #276A9D #95279D #9D5A27
split-complementary
#2F9D27 #5A279D #9D276A
monochromatic
#123B0F #206C1B #2F9D27 #3FCD35 #6DD966

Accessibility & contrast

On white

3.52
#2F9D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#2F9D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9D27
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9D27#FFFFFF#000000##000000
##2F9D271.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E10
Deuteranopia (green-blind)
#948534
Tritanopia (blue-blind)
#129886
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2f9d27;
/* rgb */ color: rgb(47, 157, 39);
/* oklch */ color: oklch(61.1% 0.183 142.1);
Tailwind
colors: {
  custom: {
    50: '#78bb69',
    500: '#2f9d27',
    950: '#000000',
  },
}
SCSS
$custom: #2f9d27;
$custom-light: #78bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9d27",
  "rgb": {
    "r": 47,
    "g": 157,
    "b": 39
  },
  "hsl": {
    "h": 115.932,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61141,
    "c": 0.18255,
    "h": 142.1
  },
  "luminance": 0.24865
}

Semantic roles & 50–950 ramp

primary
#2F9D27
secondary
#B861BF
accent
#44E3D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9D27

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

Preview Lab → · Contrast checker → · Palette generator →

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