#2F9148#2F9148

#2F9148 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.2% C 0.141 H 148.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2F9148
RGBrgb(47, 145, 72)
HSLhsl(135, 51%, 38%)
HSVhsv(135, 68%, 57%)
CMYKcmyk(67.6%, 0%, 50.3%, 43.1%)
CIE-LABlab(53.30, -44.66, 30.50)
CIE-LCHlch(53.30, 54.09, 145.67°)
OKLaboklab(58.23% -0.1204 0.0741)
OKLCHoklch(58.23% 0.141 148.4)
XYZxyz(12.4665, 21.3217, 9.5881)
Luminance0.2132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9148 #912F78
analogous
#47912F #2F9148 #2F9179
triadic
#2F9148 #482F91 #91482F
tetradic
#2F9148 #2F4791 #912F78 #91792F
square
#2F9148 #2F4791 #912F78 #91792F
split-complementary
#2F9148 #792F91 #912F47
monochromatic
#11351A #206331 #2F9148 #3EBF5F #6BCF85

Accessibility & contrast

On white

3.99
#2F9148 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#2F9148 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9148
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9148#FFFFFF#000000##000000
##2F91481.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928442
Deuteranopia (green-blind)
#867C4D
Tritanopia (blue-blind)
#088E80
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2f9148;
/* rgb */ color: rgb(47, 145, 72);
/* oklch */ color: oklch(58.2% 0.141 148.4);
Tailwind
colors: {
  custom: {
    50: '#74b27c',
    500: '#2f9148',
    950: '#000000',
  },
}
SCSS
$custom: #2f9148;
$custom-light: #74b27c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9148",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 72
  },
  "hsl": {
    "h": 135.306,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.14139,
    "h": 148.4
  },
  "luminance": 0.21323
}

Semantic roles & 50–950 ramp

primary
#2F9148
secondary
#B665A2
accent
#4DB6DB
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2F9148

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

Preview Lab → · Contrast checker → · Palette generator →

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