#2F9157#2F9157

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

Color values

HEX#2F9157
RGBrgb(47, 145, 87)
HSLhsl(144, 51%, 38%)
HSVhsv(144, 68%, 57%)
CMYKcmyk(67.6%, 0%, 40%, 43.1%)
CIE-LABlab(53.54, -42.00, 22.72)
CIE-LCHlch(53.54, 47.76, 151.59°)
OKLaboklab(58.51% -0.1135 0.0566)
OKLCHoklch(58.51% 0.127 153.5)
XYZxyz(13.0169, 21.5419, 12.4870)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9157 #912F69
analogous
#38912F #2F9157 #2F9188
triadic
#2F9157 #572F91 #91572F
tetradic
#2F9157 #2F3891 #912F69 #91882F
square
#2F9157 #2F3891 #912F69 #91882F
split-complementary
#2F9157 #882F91 #912F38
monochromatic
#113520 #20633B #2F9157 #3EBF73 #6BCF94

Accessibility & contrast

On white

3.96
#2F9157 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9157#FFFFFF#000000##000000
##2F91571.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918553
Deuteranopia (green-blind)
#847C5B
Tritanopia (blue-blind)
#008F82
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f9157;
/* rgb */ color: rgb(47, 145, 87);
/* oklch */ color: oklch(58.5% 0.127 153.5);
Tailwind
colors: {
  custom: {
    50: '#74b287',
    500: '#2f9157',
    950: '#000000',
  },
}
SCSS
$custom: #2f9157;
$custom-light: #74b287;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9157",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 87
  },
  "hsl": {
    "h": 144.49,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58508,
    "c": 0.12685,
    "h": 153.5
  },
  "luminance": 0.21543
}

Semantic roles & 50–950 ramp

primary
#2F9157
secondary
#B66595
accent
#4DA1DB
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2F9157

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

Preview Lab → · Contrast checker → · Palette generator →

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