#2F9540#2F9540

#2F9540 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.154 H 146.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2F9540
RGBrgb(47, 149, 64)
HSLhsl(130, 52%, 38%)
HSVhsv(130, 68%, 58%)
CMYKcmyk(68.5%, 0%, 57%, 41.6%)
CIE-LABlab(54.52, -47.38, 36.08)
CIE-LCHlch(54.52, 59.55, 142.71°)
OKLaboklab(59.21% -0.1279 0.086)
OKLCHoklch(59.21% 0.154 146.1)
XYZxyz(12.8443, 22.4680, 8.5094)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9540 #952F84
analogous
#51952F #2F9540 #2F9573
triadic
#2F9540 #402F95 #95402F
tetradic
#2F9540 #2F5195 #952F84 #95732F
square
#2F9540 #2F5195 #952F84 #95732F
split-complementary
#2F9540 #732F95 #952F51
monochromatic
#123818 #20662C #2F9540 #3FC255 #6DD17E

Accessibility & contrast

On white

3.82
#2F9540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#2F9540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9540
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9540#FFFFFF#000000##000000
##2F95401.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978838
Deuteranopia (green-blind)
#8B7F47
Tritanopia (blue-blind)
#0B9182
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f9540;
/* rgb */ color: rgb(47, 149, 64);
/* oklch */ color: oklch(59.2% 0.154 146.1);
Tailwind
colors: {
  custom: {
    50: '#75b577',
    500: '#2f9540',
    950: '#000000',
  },
}
SCSS
$custom: #2f9540;
$custom-light: #75b577;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9540",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 64
  },
  "hsl": {
    "h": 130,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.15413,
    "h": 146.1
  },
  "luminance": 0.22469
}

Semantic roles & 50–950 ramp

primary
#2F9540
secondary
#B867AB
accent
#4CC4DB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2F9540

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

Preview Lab → · Contrast checker → · Palette generator →

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