#2F945C#2F945C

#2F945C is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.4% C 0.126 H 154.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2F945C
RGBrgb(47, 148, 92)
HSLhsl(147, 52%, 38%)
HSVhsv(147, 68%, 58%)
CMYKcmyk(68.2%, 0%, 37.8%, 42%)
CIE-LABlab(54.61, -42.25, 21.39)
CIE-LCHlch(54.61, 47.35, 153.15°)
OKLaboklab(59.42% -0.1143 0.0536)
OKLCHoklch(59.42% 0.126 154.9)
XYZxyz(13.6927, 22.5554, 13.7551)
Luminance0.2256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F945C #942F67
analogous
#34942F #2F945C #2F948E
triadic
#2F945C #5C2F94 #945C2F
tetradic
#2F945C #2F3494 #942F67 #948E2F
square
#2F945C #2F3494 #942F67 #948E2F
split-complementary
#2F945C #8E2F94 #942F34
monochromatic
#113722 #20663F #2F945C #3EC279 #6DD199

Accessibility & contrast

On white

3.81
#2F945C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#2F945C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F945C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F945C#FFFFFF#000000##000000
##2F945C1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948858
Deuteranopia (green-blind)
#877F60
Tritanopia (blue-blind)
#009286
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f945c;
/* rgb */ color: rgb(47, 148, 92);
/* oklch */ color: oklch(59.4% 0.126 154.9);
Tailwind
colors: {
  custom: {
    50: '#74b48a',
    500: '#2f945c',
    950: '#000000',
  },
}
SCSS
$custom: #2f945c;
$custom-light: #74b48a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f945c",
  "rgb": {
    "r": 47,
    "g": 148,
    "b": 92
  },
  "hsl": {
    "h": 146.733,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59421,
    "c": 0.12624,
    "h": 154.9
  },
  "luminance": 0.22557
}

Semantic roles & 50–950 ramp

primary
#2F945C
secondary
#B86794
accent
#4D9CDB
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #2F945C

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

Preview Lab → · Contrast checker → · Palette generator →

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