#2F9156#2F9156

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

Color values

HEX#2F9156
RGBrgb(47, 145, 86)
HSLhsl(144, 51%, 38%)
HSVhsv(144, 68%, 57%)
CMYKcmyk(67.6%, 0%, 40.7%, 43.1%)
CIE-LABlab(53.52, -42.20, 23.25)
CIE-LCHlch(53.52, 48.18, 151.15°)
OKLaboklab(58.49% -0.114 0.0579)
OKLCHoklch(58.49% 0.128 153.1)
XYZxyz(12.9763, 21.5256, 12.2733)
Luminance0.2153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9156 #912F6A
analogous
#39912F #2F9156 #2F9187
triadic
#2F9156 #562F91 #91562F
tetradic
#2F9156 #2F3991 #912F6A #91872F
square
#2F9156 #2F3991 #912F6A #91872F
split-complementary
#2F9156 #872F91 #912F39
monochromatic
#11351F #20633B #2F9156 #3EBF71 #6BCF93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9156#FFFFFF#000000##000000
##2F91561.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)
#918552
Deuteranopia (green-blind)
#857C5A
Tritanopia (blue-blind)
#008F82
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f9156;
/* rgb */ color: rgb(47, 145, 86);
/* oklch */ color: oklch(58.5% 0.128 153.1);
Tailwind
colors: {
  custom: {
    50: '#74b286',
    500: '#2f9156',
    950: '#000000',
  },
}
SCSS
$custom: #2f9156;
$custom-light: #74b286;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9156",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 86
  },
  "hsl": {
    "h": 143.878,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58488,
    "c": 0.12783,
    "h": 153.1
  },
  "luminance": 0.21527
}

Semantic roles & 50–950 ramp

primary
#2F9156
secondary
#B66596
accent
#4DA2DB
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #2F9156

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

Preview Lab → · Contrast checker → · Palette generator →

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