#2F8146#2F8146

#2F8146 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.8% C 0.121 H 149.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2F8146
RGBrgb(47, 129, 70)
HSLhsl(137, 47%, 35%)
HSVhsv(137, 64%, 51%)
CMYKcmyk(63.6%, 0%, 45.7%, 49.4%)
CIE-LABlab(47.94, -38.56, 24.79)
CIE-LCHlch(47.94, 45.84, 147.26°)
OKLaboklab(53.81% -0.1042 0.061)
OKLCHoklch(53.81% 0.121 149.7)
XYZxyz(10.1273, 16.7461, 8.4918)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8146 #812F6A
analogous
#41812F #2F8146 #2F816F
triadic
#2F8146 #462F81 #81462F
tetradic
#2F8146 #2F4181 #812F6A #816F2F
square
#2F8146 #2F4181 #812F6A #816F2F
split-complementary
#2F8146 #6F2F81 #812F41
monochromatic
#0E2715 #1F542E #2F8146 #3FAE5E #64C680

Accessibility & contrast

On white

4.83
#2F8146 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2F8146 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8146
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8146#FFFFFF#000000##FFFFFF
##2F81461.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827642
Deuteranopia (green-blind)
#776F4A
Tritanopia (blue-blind)
#167F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8146;
/* rgb */ color: rgb(47, 129, 70);
/* oklch */ color: oklch(53.8% 0.121 149.7);
Tailwind
colors: {
  custom: {
    50: '#71a67a',
    500: '#2f8146',
    950: '#000000',
  },
}
SCSS
$custom: #2f8146;
$custom-light: #71a67a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8146",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 70
  },
  "hsl": {
    "h": 136.829,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53807,
    "c": 0.12069,
    "h": 149.7
  },
  "luminance": 0.16747
}

Semantic roles & 50–950 ramp

primary
#2F8146
secondary
#AD5E97
accent
#52B1D6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F8146

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

Preview Lab → · Contrast checker → · Palette generator →

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