#2F7953#2F7953

#2F7953 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.9% C 0.096 H 157.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2F7953
RGBrgb(47, 121, 83)
HSLhsl(149, 44%, 33%)
HSVhsv(149, 61%, 47%)
CMYKcmyk(61.2%, 0%, 31.4%, 52.5%)
CIE-LABlab(45.50, -32.48, 14.16)
CIE-LCHlch(45.50, 35.43, 156.44°)
OKLaboklab(51.89% -0.0886 0.0359)
OKLCHoklch(51.89% 0.096 157.9)
XYZxyz(9.5702, 14.9027, 10.5541)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7953 #792F55
analogous
#30792F #2F7953 #2F7978
triadic
#2F7953 #532F79 #79532F
tetradic
#2F7953 #2F3079 #792F55 #79782F
square
#2F7953 #2F3079 #792F55 #79782F
split-complementary
#2F7953 #782F79 #792F30
monochromatic
#0D2117 #1E4D35 #2F7953 #40A571 #61C290

Accessibility & contrast

On white

5.28
#2F7953 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2F7953 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7953
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7953#FFFFFF#000000##FFFFFF
##2F79531.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787051
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#11786F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7953;
/* rgb */ color: rgb(47, 121, 83);
/* oklch */ color: oklch(51.9% 0.096 157.9);
Tailwind
colors: {
  custom: {
    50: '#6fa083',
    500: '#2f7953',
    950: '#000000',
  },
}
SCSS
$custom: #2f7953;
$custom-light: #6fa083;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7953",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 83
  },
  "hsl": {
    "h": 149.189,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51886,
    "c": 0.09564,
    "h": 157.9
  },
  "luminance": 0.14904
}

Semantic roles & 50–950 ramp

primary
#2F7953
secondary
#A85B83
accent
#5496D4
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2F7953

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

Preview Lab → · Contrast checker → · Palette generator →

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