#2F9C28#2F9C28

#2F9C28 is a mid, vivid green. Relative luminance 0.245; OKLCH L 60.9% C 0.181 H 142.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2F9C28
RGBrgb(47, 156, 40)
HSLhsl(116, 59%, 38%)
HSVhsv(116, 74%, 61%)
CMYKcmyk(69.9%, 0%, 74.4%, 38.8%)
CIE-LABlab(56.62, -52.50, 48.95)
CIE-LCHlch(56.62, 71.78, 137.00°)
OKLaboklab(60.87% -0.1429 0.1108)
OKLCHoklch(60.87% 0.181 142.2)
XYZxyz(13.4430, 24.5330, 6.0340)
Luminance0.2453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9C28 #95289C
analogous
#699C28 #2F9C28 #289C5B
triadic
#2F9C28 #282F9C #9C282F
tetradic
#2F9C28 #28699C #95289C #9C5B28
square
#2F9C28 #28699C #95289C #9C5B28
split-complementary
#2F9C28 #5B289C #9C2869
monochromatic
#123B0F #206B1C #2F9C28 #3FCB36 #6DD867

Accessibility & contrast

On white

3.56
#2F9C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#2F9C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9C28
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9C28#FFFFFF#000000##000000
##2F9C281.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D12
Deuteranopia (green-blind)
#938434
Tritanopia (blue-blind)
#139785
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2f9c28;
/* rgb */ color: rgb(47, 156, 40);
/* oklch */ color: oklch(60.9% 0.181 142.2);
Tailwind
colors: {
  custom: {
    50: '#78ba6a',
    500: '#2f9c28',
    950: '#000000',
  },
}
SCSS
$custom: #2f9c28;
$custom-light: #78ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9c28",
  "rgb": {
    "r": 47,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 116.379,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60874,
    "c": 0.1808,
    "h": 142.2
  },
  "luminance": 0.24534
}

Semantic roles & 50–950 ramp

primary
#2F9C28
secondary
#B862BE
accent
#45E2D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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