#2F7956#2F7956

#2F7956 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.0% C 0.093 H 159.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2F7956
RGBrgb(47, 121, 86)
HSLhsl(152, 44%, 33%)
HSVhsv(152, 61%, 47%)
CMYKcmyk(61.2%, 0%, 28.9%, 52.5%)
CIE-LABlab(45.57, -31.80, 12.50)
CIE-LCHlch(45.57, 34.17, 158.54°)
OKLaboklab(51.96% -0.0871 0.0318)
OKLCHoklch(51.96% 0.093 159.9)
XYZxyz(9.6885, 14.9500, 11.1774)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7956 #792F52
analogous
#2F7931 #2F7956 #2F7779
triadic
#2F7956 #562F79 #79562F
tetradic
#2F7956 #312F79 #792F52 #77792F
square
#2F7956 #312F79 #792F52 #77792F
split-complementary
#2F7956 #792F77 #79312F
monochromatic
#0D2117 #1E4D37 #2F7956 #40A575 #61C294

Accessibility & contrast

On white

5.26
#2F7956 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2F7956 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7956
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7956#FFFFFF#000000##FFFFFF
##2F79561.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787054
Deuteranopia (green-blind)
#6D6958
Tritanopia (blue-blind)
#0E7870
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7956;
/* rgb */ color: rgb(47, 121, 86);
/* oklch */ color: oklch(52.0% 0.093 159.9);
Tailwind
colors: {
  custom: {
    50: '#6fa085',
    500: '#2f7956',
    950: '#000000',
  },
}
SCSS
$custom: #2f7956;
$custom-light: #6fa085;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7956",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 86
  },
  "hsl": {
    "h": 151.622,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5196,
    "c": 0.09275,
    "h": 159.9
  },
  "luminance": 0.14951
}

Semantic roles & 50–950 ramp

primary
#2F7956
secondary
#A85B80
accent
#5490D4
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2F7956

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

Preview Lab → · Contrast checker → · Palette generator →

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