#2F945F#2F945F

#2F945F is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.5% C 0.123 H 156.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2F945F
RGBrgb(47, 148, 95)
HSLhsl(149, 52%, 38%)
HSVhsv(149, 68%, 58%)
CMYKcmyk(68.2%, 0%, 35.8%, 42%)
CIE-LABlab(54.67, -41.64, 19.80)
CIE-LCHlch(54.67, 46.11, 154.56°)
OKLaboklab(59.49% -0.1128 0.0498)
OKLCHoklch(59.49% 0.123 156.2)
XYZxyz(13.8265, 22.6089, 14.4595)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F945F #942F64
analogous
#31942F #2F945F #2F9491
triadic
#2F945F #5F2F94 #945F2F
tetradic
#2F945F #2F3194 #942F64 #94912F
square
#2F945F #2F3194 #942F64 #94912F
split-complementary
#2F945F #912F94 #942F31
monochromatic
#113723 #206641 #2F945F #3EC27D #6DD19C

Accessibility & contrast

On white

3.80
#2F945F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#2F945F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F945F
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F945F#FFFFFF#000000##000000
##2F945F1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93885C
Deuteranopia (green-blind)
#867F62
Tritanopia (blue-blind)
#009386
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f945f;
/* rgb */ color: rgb(47, 148, 95);
/* oklch */ color: oklch(59.5% 0.123 156.2);
Tailwind
colors: {
  custom: {
    50: '#74b48c',
    500: '#2f945f',
    950: '#000000',
  },
}
SCSS
$custom: #2f945f;
$custom-light: #74b48c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f945f",
  "rgb": {
    "r": 47,
    "g": 148,
    "b": 95
  },
  "hsl": {
    "h": 148.515,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59485,
    "c": 0.12335,
    "h": 156.2
  },
  "luminance": 0.2261
}

Semantic roles & 50–950 ramp

primary
#2F945F
secondary
#B86791
accent
#4D97DB
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #2F945F

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

Preview Lab → · Contrast checker → · Palette generator →

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