#2F9D28#2F9D28

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

Color values

HEX#2F9D28
RGBrgb(47, 157, 40)
HSLhsl(116, 59%, 39%)
HSVhsv(116, 75%, 62%)
CMYKcmyk(70.1%, 0%, 74.5%, 38.4%)
CIE-LABlab(56.95, -52.84, 49.29)
CIE-LCHlch(56.95, 72.26, 136.99°)
OKLaboklab(61.15% -0.1438 0.1115)
OKLCHoklch(61.15% 0.182 142.2)
XYZxyz(13.6115, 24.8700, 6.0901)
Luminance0.2487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9D28 #96289D
analogous
#699D28 #2F9D28 #289D5B
triadic
#2F9D28 #282F9D #9D282F
tetradic
#2F9D28 #28699D #96289D #9D5B28
square
#2F9D28 #28699D #96289D #9D5B28
split-complementary
#2F9D28 #5B289D #9D2869
monochromatic
#123B0F #206C1C #2F9D28 #3FCC36 #6ED867

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9D28#FFFFFF#000000##000000
##2F9D281.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)
#A18E12
Deuteranopia (green-blind)
#948534
Tritanopia (blue-blind)
#129886
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2f9d28;
/* rgb */ color: rgb(47, 157, 40);
/* oklch */ color: oklch(61.1% 0.182 142.2);
Tailwind
colors: {
  custom: {
    50: '#78bb6a',
    500: '#2f9d28',
    950: '#000000',
  },
}
SCSS
$custom: #2f9d28;
$custom-light: #78bb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9d28",
  "rgb": {
    "r": 47,
    "g": 157,
    "b": 40
  },
  "hsl": {
    "h": 116.41,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61149,
    "c": 0.18196,
    "h": 142.2
  },
  "luminance": 0.24871
}

Semantic roles & 50–950 ramp

primary
#2F9D28
secondary
#B962BE
accent
#45E3D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9D28

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

Preview Lab → · Contrast checker → · Palette generator →

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