#2F8142#2F8142

#2F8142 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.125 H 148.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F8142
RGBrgb(47, 129, 66)
HSLhsl(134, 47%, 35%)
HSVhsv(134, 64%, 51%)
CMYKcmyk(63.6%, 0%, 48.8%, 49.4%)
CIE-LABlab(47.88, -39.24, 26.90)
CIE-LCHlch(47.88, 47.58, 145.58°)
OKLaboklab(53.74% -0.106 0.0656)
OKLCHoklch(53.74% 0.125 148.2)
XYZxyz(10.0052, 16.6972, 7.8488)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8142 #812F6E
analogous
#45812F #2F8142 #2F816B
triadic
#2F8142 #422F81 #81422F
tetradic
#2F8142 #2F4581 #812F6E #816B2F
square
#2F8142 #2F4581 #812F6E #816B2F
split-complementary
#2F8142 #6B2F81 #812F45
monochromatic
#0E2714 #1F542B #2F8142 #3FAE59 #64C67B

Accessibility & contrast

On white

4.84
#2F8142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2F8142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8142
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8142#FFFFFF#000000##FFFFFF
##2F81421.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763D
Deuteranopia (green-blind)
#786F46
Tritanopia (blue-blind)
#187E72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8142;
/* rgb */ color: rgb(47, 129, 66);
/* oklch */ color: oklch(53.7% 0.125 148.2);
Tailwind
colors: {
  custom: {
    50: '#71a677',
    500: '#2f8142',
    950: '#000000',
  },
}
SCSS
$custom: #2f8142;
$custom-light: #71a677;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8142",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 133.902,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53736,
    "c": 0.12467,
    "h": 148.2
  },
  "luminance": 0.16698
}

Semantic roles & 50–950 ramp

primary
#2F8142
secondary
#AD5E9B
accent
#52B7D6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F8142

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

Preview Lab → · Contrast checker → · Palette generator →

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