#2F8045#2F8045

#2F8045 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.120 H 149.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2F8045
RGBrgb(47, 128, 69)
HSLhsl(136, 46%, 34%)
HSVhsv(136, 63%, 50%)
CMYKcmyk(63.3%, 0%, 46.1%, 49.8%)
CIE-LABlab(47.59, -38.32, 24.89)
CIE-LCHlch(47.59, 45.69, 146.99°)
OKLaboklab(53.51% -0.1035 0.0612)
OKLCHoklch(53.51% 0.12 149.4)
XYZxyz(9.9649, 16.4714, 8.2832)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8045 #802F6A
analogous
#42802F #2F8045 #2F806E
triadic
#2F8045 #452F80 #80452F
tetradic
#2F8045 #2F4280 #802F6A #806E2F
square
#2F8045 #2F4280 #802F6A #806E2F
split-complementary
#2F8045 #6E2F80 #802F42
monochromatic
#0E2615 #1F532D #2F8045 #3FAD5D #63C67E

Accessibility & contrast

On white

4.89
#2F8045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F8045
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8045#FFFFFF#000000##FFFFFF
##2F80451.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817541
Deuteranopia (green-blind)
#766E49
Tritanopia (blue-blind)
#177E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8045;
/* rgb */ color: rgb(47, 128, 69);
/* oklch */ color: oklch(53.5% 0.120 149.4);
Tailwind
colors: {
  custom: {
    50: '#71a579',
    500: '#2f8045',
    950: '#000000',
  },
}
SCSS
$custom: #2f8045;
$custom-light: #71a579;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8045",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 69
  },
  "hsl": {
    "h": 136.296,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.12022,
    "h": 149.4
  },
  "luminance": 0.16472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8045

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

Preview Lab → · Contrast checker → · Palette generator →

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