#2F7546#2F7546

#2F7546 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.5% C 0.103 H 151.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2F7546
RGBrgb(47, 117, 70)
HSLhsl(140, 43%, 32%)
HSVhsv(140, 60%, 46%)
CMYKcmyk(59.8%, 0%, 40.2%, 54.1%)
CIE-LABlab(43.90, -33.38, 19.52)
CIE-LCHlch(43.90, 38.67, 149.68°)
OKLaboklab(50.49% -0.0904 0.0487)
OKLCHoklch(50.49% 0.103 151.7)
XYZxyz(8.6384, 13.7683, 7.9955)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7546 #752F5E
analogous
#3B752F #2F7546 #2F7569
triadic
#2F7546 #462F75 #75462F
tetradic
#2F7546 #2F3B75 #752F5E #75692F
square
#2F7546 #2F3B75 #752F5E #75692F
split-complementary
#2F7546 #692F75 #752F3B
monochromatic
#0C1E12 #1D492C #2F7546 #41A160 #5FBF7F

Accessibility & contrast

On white

5.59
#2F7546 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2F7546 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7546
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7546#FFFFFF#000000##FFFFFF
##2F75461.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756C43
Deuteranopia (green-blind)
#6C6549
Tritanopia (blue-blind)
#1B7369
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f7546;
/* rgb */ color: rgb(47, 117, 70);
/* oklch */ color: oklch(50.5% 0.103 151.7);
Tailwind
colors: {
  custom: {
    50: '#6e9d7a',
    500: '#2f7546',
    950: '#000000',
  },
}
SCSS
$custom: #2f7546;
$custom-light: #6e9d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7546",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 70
  },
  "hsl": {
    "h": 139.714,
    "s": 42.683,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50489,
    "c": 0.1027,
    "h": 151.7
  },
  "luminance": 0.13769
}

Semantic roles & 50–950 ramp

primary
#2F7546
secondary
#A65A8D
accent
#55A9D2
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #2F7546

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

Preview Lab → · Contrast checker → · Palette generator →

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