#2F9A28#2F9A28

#2F9A28 is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.3% C 0.178 H 142.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2F9A28
RGBrgb(47, 154, 40)
HSLhsl(116, 59%, 38%)
HSVhsv(116, 74%, 60%)
CMYKcmyk(69.5%, 0%, 74%, 39.6%)
CIE-LABlab(55.95, -51.81, 48.28)
CIE-LCHlch(55.95, 70.82, 137.02°)
OKLaboklab(60.33% -0.141 0.1094)
OKLCHoklch(60.33% 0.178 142.2)
XYZxyz(13.1101, 23.8674, 5.9230)
Luminance0.2387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9A28 #93289A
analogous
#689A28 #2F9A28 #289A5A
triadic
#2F9A28 #282F9A #9A282F
tetradic
#2F9A28 #28689A #93289A #9A5A28
square
#2F9A28 #28689A #93289A #9A5A28
split-complementary
#2F9A28 #5A289A #9A2868
monochromatic
#11390F #20691B #2F9A28 #3ECA35 #6CD765

Accessibility & contrast

On white

3.64
#2F9A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#2F9A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9A28
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9A28#FFFFFF#000000##000000
##2F9A281.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B13
Deuteranopia (green-blind)
#918334
Tritanopia (blue-blind)
#149584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2f9a28;
/* rgb */ color: rgb(47, 154, 40);
/* oklch */ color: oklch(60.3% 0.178 142.2);
Tailwind
colors: {
  custom: {
    50: '#77b969',
    500: '#2f9a28',
    950: '#000000',
  },
}
SCSS
$custom: #2f9a28;
$custom-light: #77b969;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9a28",
  "rgb": {
    "r": 47,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 116.316,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60325,
    "c": 0.17847,
    "h": 142.2
  },
  "luminance": 0.23869
}

Semantic roles & 50–950 ramp

primary
#2F9A28
secondary
#B761BD
accent
#46E2D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9A28

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

Preview Lab → · Contrast checker → · Palette generator →

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