#2F8246#2F8246

#2F8246 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.122 H 149.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2F8246
RGBrgb(47, 130, 70)
HSLhsl(137, 47%, 35%)
HSVhsv(137, 64%, 51%)
CMYKcmyk(63.8%, 0%, 46.2%, 49%)
CIE-LABlab(48.27, -38.97, 25.22)
CIE-LCHlch(48.27, 46.42, 147.09°)
OKLaboklab(54.08% -0.1053 0.062)
OKLCHoklch(54.08% 0.122 149.5)
XYZxyz(10.2597, 17.0108, 8.5359)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8246 #822F6B
analogous
#41822F #2F8246 #2F8270
triadic
#2F8246 #462F82 #82462F
tetradic
#2F8246 #2F4182 #822F6B #82702F
square
#2F8246 #2F4182 #822F6B #82702F
split-complementary
#2F8246 #702F82 #822F41
monochromatic
#0E2816 #1F552E #2F8246 #3FAF5E #64C780

Accessibility & contrast

On white

4.77
#2F8246 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2F8246 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8246
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8246#FFFFFF#000000##FFFFFF
##2F82461.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837741
Deuteranopia (green-blind)
#78704A
Tritanopia (blue-blind)
#158074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8246;
/* rgb */ color: rgb(47, 130, 70);
/* oklch */ color: oklch(54.1% 0.122 149.5);
Tailwind
colors: {
  custom: {
    50: '#71a77a',
    500: '#2f8246',
    950: '#000000',
  },
}
SCSS
$custom: #2f8246;
$custom-light: #71a77a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8246",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 70
  },
  "hsl": {
    "h": 136.627,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.12215,
    "h": 149.5
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#2F8246
secondary
#AE5F98
accent
#51B2D7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F8246

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

Preview Lab → · Contrast checker → · Palette generator →

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