#2F8043#2F8043

#2F8043 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.5% C 0.122 H 148.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F8043
RGBrgb(47, 128, 67)
HSLhsl(135, 46%, 34%)
HSVhsv(135, 63%, 50%)
CMYKcmyk(63.3%, 0%, 47.7%, 49.8%)
CIE-LABlab(47.56, -38.66, 25.95)
CIE-LCHlch(47.56, 46.56, 146.14°)
OKLaboklab(53.48% -0.1044 0.0635)
OKLCHoklch(53.48% 0.122 148.7)
XYZxyz(9.9039, 16.4470, 7.9618)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8043 #802F6C
analogous
#44802F #2F8043 #2F806C
triadic
#2F8043 #432F80 #80432F
tetradic
#2F8043 #2F4480 #802F6C #806C2F
square
#2F8043 #2F4480 #802F6C #806C2F
split-complementary
#2F8043 #6C2F80 #802F44
monochromatic
#0E2614 #1F532C #2F8043 #3FAD5A #63C67C

Accessibility & contrast

On white

4.90
#2F8043 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2F8043 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8043
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8043#FFFFFF#000000##FFFFFF
##2F80431.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753E
Deuteranopia (green-blind)
#776E47
Tritanopia (blue-blind)
#187E71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8043;
/* rgb */ color: rgb(47, 128, 67);
/* oklch */ color: oklch(53.5% 0.122 148.7);
Tailwind
colors: {
  custom: {
    50: '#71a678',
    500: '#2f8043',
    950: '#000000',
  },
}
SCSS
$custom: #2f8043;
$custom-light: #71a678;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8043",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 67
  },
  "hsl": {
    "h": 134.815,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53476,
    "c": 0.12223,
    "h": 148.7
  },
  "luminance": 0.16448
}

Semantic roles & 50–950 ramp

primary
#2F8043
secondary
#AD5E99
accent
#52B5D6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F8043

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

Preview Lab → · Contrast checker → · Palette generator →

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