#2F9F28#2F9F28

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

Color values

HEX#2F9F28
RGBrgb(47, 159, 40)
HSLhsl(116, 60%, 39%)
HSVhsv(116, 75%, 62%)
CMYKcmyk(70.4%, 0%, 74.8%, 37.6%)
CIE-LABlab(57.61, -53.52, 49.95)
CIE-LCHlch(57.61, 73.21, 136.98°)
OKLaboklab(61.7% -0.1457 0.1129)
OKLCHoklch(61.7% 0.184 142.2)
XYZxyz(13.9526, 25.5523, 6.2038)
Luminance0.2555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9F28 #98289F
analogous
#6B9F28 #2F9F28 #289F5D
triadic
#2F9F28 #282F9F #9F282F
tetradic
#2F9F28 #286B9F #98289F #9F5D28
square
#2F9F28 #286B9F #98289F #9F5D28
split-complementary
#2F9F28 #5D289F #9F286B
monochromatic
#123D0F #216E1C #2F9F28 #40CD37 #6FD968

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9F28#FFFFFF#000000##000000
##2F9F281.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)
#A39011
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#109A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2f9f28;
/* rgb */ color: rgb(47, 159, 40);
/* oklch */ color: oklch(61.7% 0.184 142.2);
Tailwind
colors: {
  custom: {
    50: '#79bc6a',
    500: '#2f9f28',
    950: '#000000',
  },
}
SCSS
$custom: #2f9f28;
$custom-light: #79bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9f28",
  "rgb": {
    "r": 47,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 116.471,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61697,
    "c": 0.18427,
    "h": 142.2
  },
  "luminance": 0.25554
}

Semantic roles & 50–950 ramp

primary
#2F9F28
secondary
#BA64BF
accent
#45E3DA
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9F28

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

Preview Lab → · Contrast checker → · Palette generator →

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