#2F6B40#2F6B40

#2F6B40 is a mid, moderate green. Relative luminance 0.115; OKLCH L 47.6% C 0.093 H 150.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2F6B40
RGBrgb(47, 107, 64)
HSLhsl(137, 39%, 30%)
HSVhsv(137, 56%, 42%)
CMYKcmyk(56.1%, 0%, 40.2%, 58%)
CIE-LABlab(40.39, -30.00, 18.35)
CIE-LCHlch(40.39, 35.17, 148.55°)
OKLaboklab(47.58% -0.0814 0.0457)
OKLCHoklch(47.58% 0.093 150.7)
XYZxyz(7.3549, 11.4893, 6.6796)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6B40 #6B2F5A
analogous
#3C6B2F #2F6B40 #2F6B5E
triadic
#2F6B40 #402F6B #6B402F
tetradic
#2F6B40 #2F3C6B #6B2F5A #6B5E2F
square
#2F6B40 #2F3C6B #6B2F5A #6B5E2F
split-complementary
#2F6B40 #5E2F6B #6B2F3C
monochromatic
#0A160D #1C4027 #2F6B40 #429659 #5DB876

Accessibility & contrast

On white

6.37
#2F6B40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2F6B40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6B40
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6B40#FFFFFF#000000##FFFFFF
##2F6B401.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C633D
Deuteranopia (green-blind)
#635D43
Tritanopia (blue-blind)
#216960
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f6b40;
/* rgb */ color: rgb(47, 107, 64);
/* oklch */ color: oklch(47.6% 0.093 150.7);
Tailwind
colors: {
  custom: {
    50: '#6d9675',
    500: '#2f6b40',
    950: '#000000',
  },
}
SCSS
$custom: #2f6b40;
$custom-light: #6d9675;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6b40",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 64
  },
  "hsl": {
    "h": 137,
    "s": 38.961,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4758,
    "c": 0.09337,
    "h": 150.7
  },
  "luminance": 0.1149
}

Semantic roles & 50–950 ramp

primary
#2F6B40
secondary
#9C5989
accent
#59ADCF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2F6B40

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

Preview Lab → · Contrast checker → · Palette generator →

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