#2F9158#2F9158

#2F9158 is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.5% C 0.126 H 153.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2F9158
RGBrgb(47, 145, 88)
HSLhsl(145, 51%, 38%)
HSVhsv(145, 68%, 57%)
CMYKcmyk(67.6%, 0%, 39.3%, 43.1%)
CIE-LABlab(53.56, -41.81, 22.19)
CIE-LCHlch(53.56, 47.34, 152.04°)
OKLaboklab(58.53% -0.113 0.0554)
OKLCHoklch(58.53% 0.126 153.9)
XYZxyz(13.0580, 21.5583, 12.7036)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9158 #912F68
analogous
#37912F #2F9158 #2F9189
triadic
#2F9158 #582F91 #91582F
tetradic
#2F9158 #2F3791 #912F68 #91892F
square
#2F9158 #2F3791 #912F68 #91892F
split-complementary
#2F9158 #892F91 #912F37
monochromatic
#113520 #20633C #2F9158 #3EBF74 #6BCF95

Accessibility & contrast

On white

3.95
#2F9158 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#2F9158 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9158
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9158#FFFFFF#000000##000000
##2F91581.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918554
Deuteranopia (green-blind)
#847C5C
Tritanopia (blue-blind)
#008F83
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f9158;
/* rgb */ color: rgb(47, 145, 88);
/* oklch */ color: oklch(58.5% 0.126 153.9);
Tailwind
colors: {
  custom: {
    50: '#74b287',
    500: '#2f9158',
    950: '#000000',
  },
}
SCSS
$custom: #2f9158;
$custom-light: #74b287;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9158",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 88
  },
  "hsl": {
    "h": 145.102,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58528,
    "c": 0.12588,
    "h": 153.9
  },
  "luminance": 0.2156
}

Semantic roles & 50–950 ramp

primary
#2F9158
secondary
#B66594
accent
#4D9FDB
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2F9158

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

Preview Lab → · Contrast checker → · Palette generator →

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