#2F9F27#2F9F27

#2F9F27 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.7% C 0.185 H 142.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2F9F27
RGBrgb(47, 159, 39)
HSLhsl(116, 61%, 39%)
HSVhsv(116, 75%, 62%)
CMYKcmyk(70.4%, 0%, 75.5%, 37.6%)
CIE-LABlab(57.60, -53.60, 50.31)
CIE-LCHlch(57.60, 73.51, 136.81°)
OKLaboklab(61.69% -0.1459 0.1135)
OKLCHoklch(61.69% 0.185 142.1)
XYZxyz(13.9358, 25.5456, 6.1154)
Luminance0.2555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9F27 #97279F
analogous
#6B9F27 #2F9F27 #279F5B
triadic
#2F9F27 #272F9F #9F272F
tetradic
#2F9F27 #276B9F #97279F #9F5B27
square
#2F9F27 #276B9F #97279F #9F5B27
split-complementary
#2F9F27 #5B279F #9F276B
monochromatic
#123D0F #206E1B #2F9F27 #40CE36 #6EDA67

Accessibility & contrast

On white

3.44
#2F9F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#2F9F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9F27
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9F27#FFFFFF#000000##000000
##2F9F271.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3900E
Deuteranopia (green-blind)
#968734
Tritanopia (blue-blind)
#119A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2f9f27;
/* rgb */ color: rgb(47, 159, 39);
/* oklch */ color: oklch(61.7% 0.185 142.1);
Tailwind
colors: {
  custom: {
    50: '#79bc6a',
    500: '#2f9f27',
    950: '#000000',
  },
}
SCSS
$custom: #2f9f27;
$custom-light: #79bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9f27",
  "rgb": {
    "r": 47,
    "g": 159,
    "b": 39
  },
  "hsl": {
    "h": 116,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61689,
    "c": 0.18485,
    "h": 142.1
  },
  "luminance": 0.25547
}

Semantic roles & 50–950 ramp

primary
#2F9F27
secondary
#B962C0
accent
#44E4D9
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9F27

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

Preview Lab → · Contrast checker → · Palette generator →

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