#2F9B28#2F9B28

#2F9B28 is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.6% C 0.180 H 142.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#2F9B28
RGBrgb(47, 155, 40)
HSLhsl(116, 59%, 38%)
HSVhsv(116, 74%, 61%)
CMYKcmyk(69.7%, 0%, 74.2%, 39.2%)
CIE-LABlab(56.29, -52.15, 48.62)
CIE-LCHlch(56.29, 71.30, 137.01°)
OKLaboklab(60.6% -0.142 0.1101)
OKLCHoklch(60.6% 0.18 142.2)
XYZxyz(13.2759, 24.1988, 5.9783)
Luminance0.2420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9B28 #94289B
analogous
#689B28 #2F9B28 #289B5A
triadic
#2F9B28 #282F9B #9B282F
tetradic
#2F9B28 #28689B #94289B #9B5A28
square
#2F9B28 #28689B #94289B #9B5A28
split-complementary
#2F9B28 #5A289B #9B2868
monochromatic
#113A0F #206A1B #2F9B28 #3ECB35 #6DD766

Accessibility & contrast

On white

3.60
#2F9B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#2F9B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9B28
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9B28#FFFFFF#000000##000000
##2F9B281.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C13
Deuteranopia (green-blind)
#928434
Tritanopia (blue-blind)
#139685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2f9b28;
/* rgb */ color: rgb(47, 155, 40);
/* oklch */ color: oklch(60.6% 0.180 142.2);
Tailwind
colors: {
  custom: {
    50: '#78b96a',
    500: '#2f9b28',
    950: '#000000',
  },
}
SCSS
$custom: #2f9b28;
$custom-light: #78b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9b28",
  "rgb": {
    "r": 47,
    "g": 155,
    "b": 40
  },
  "hsl": {
    "h": 116.348,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60599,
    "c": 0.17964,
    "h": 142.2
  },
  "luminance": 0.242
}

Semantic roles & 50–950 ramp

primary
#2F9B28
secondary
#B861BD
accent
#46E2D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9B28

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

Preview Lab → · Contrast checker → · Palette generator →

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