#2F6F4E#2F6F4E

#2F6F4E is a mid, moderate green. Relative luminance 0.125; OKLCH L 49.0% C 0.085 H 158.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2F6F4E
RGBrgb(47, 111, 78)
HSLhsl(149, 41%, 31%)
HSVhsv(149, 58%, 44%)
CMYKcmyk(57.7%, 0%, 29.7%, 56.5%)
CIE-LABlab(42.03, -28.94, 12.33)
CIE-LCHlch(42.03, 31.45, 156.92°)
OKLaboklab(49.02% -0.0792 0.0314)
OKLCHoklch(49.02% 0.085 158.4)
XYZxyz(8.2312, 12.5225, 9.1896)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6F4E #6F2F50
analogous
#306F2F #2F6F4E #2F6F6E
triadic
#2F6F4E #4E2F6F #6F4E2F
tetradic
#2F6F4E #2F306F #6F2F50 #6F6E2F
square
#2F6F4E #2F306F #6F2F50 #6F6E2F
split-complementary
#2F6F4E #6E2F6F #6F2F30
monochromatic
#0B1912 #1D4430 #2F6F4E #419A6C #5EBB8B

Accessibility & contrast

On white

5.99
#2F6F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2F6F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6F4E
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6F4E#FFFFFF#000000##FFFFFF
##2F6F4E1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E674C
Deuteranopia (green-blind)
#656150
Tritanopia (blue-blind)
#196E66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f6f4e;
/* rgb */ color: rgb(47, 111, 78);
/* oklch */ color: oklch(49.0% 0.085 158.4);
Tailwind
colors: {
  custom: {
    50: '#6d997f',
    500: '#2f6f4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f6f4e;
$custom-light: #6d997f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6f4e",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 78
  },
  "hsl": {
    "h": 149.063,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49016,
    "c": 0.08519,
    "h": 158.4
  },
  "luminance": 0.12523
}

Semantic roles & 50–950 ramp

primary
#2F6F4E
secondary
#A0597E
accent
#5796D0
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2F6F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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