#2F915F#2F915F

#2F915F is a mid, moderate green. Relative luminance 0.217; OKLCH L 58.7% C 0.119 H 157.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2F915F
RGBrgb(47, 145, 95)
HSLhsl(149, 51%, 38%)
HSVhsv(149, 68%, 57%)
CMYKcmyk(67.6%, 0%, 34.5%, 43.1%)
CIE-LABlab(53.69, -40.38, 18.48)
CIE-LCHlch(53.69, 44.41, 155.42°)
OKLaboklab(58.68% -0.1096 0.0466)
OKLCHoklch(58.68% 0.119 157)
XYZxyz(13.3620, 21.6799, 14.3047)
Luminance0.2168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F915F #912F61
analogous
#30912F #2F915F #2F9190
triadic
#2F915F #5F2F91 #915F2F
tetradic
#2F915F #2F3091 #912F61 #91902F
square
#2F915F #2F3091 #912F61 #91902F
split-complementary
#2F915F #902F91 #912F30
monochromatic
#113522 #206341 #2F915F #3EBF7D #6BCF9C

Accessibility & contrast

On white

3.94
#2F915F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#2F915F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F915F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F915F#FFFFFF#000000##000000
##2F915F1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90865C
Deuteranopia (green-blind)
#837D62
Tritanopia (blue-blind)
#009084
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f915f;
/* rgb */ color: rgb(47, 145, 95);
/* oklch */ color: oklch(58.7% 0.119 157.0);
Tailwind
colors: {
  custom: {
    50: '#74b28c',
    500: '#2f915f',
    950: '#000000',
  },
}
SCSS
$custom: #2f915f;
$custom-light: #74b28c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f915f",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 95
  },
  "hsl": {
    "h": 149.388,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58679,
    "c": 0.11912,
    "h": 157
  },
  "luminance": 0.21681
}

Semantic roles & 50–950 ramp

primary
#2F915F
secondary
#B6658F
accent
#4D95DB
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #2F915F

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

Preview Lab → · Contrast checker → · Palette generator →

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