#2F8B45#2F8B45

#2F8B45 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.136 H 148.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F8B45
RGBrgb(47, 139, 69)
HSLhsl(134, 49%, 36%)
HSVhsv(134, 66%, 55%)
CMYKcmyk(66.2%, 0%, 50.4%, 45.5%)
CIE-LABlab(51.26, -42.79, 29.54)
CIE-LCHlch(51.26, 52.00, 145.38°)
OKLaboklab(56.54% -0.1155 0.0718)
OKLCHoklch(56.54% 0.136 148.1)
XYZxyz(11.4783, 19.4981, 8.7877)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B45 #8B2F75
analogous
#478B2F #2F8B45 #2F8B73
triadic
#2F8B45 #452F8B #8B452F
tetradic
#2F8B45 #2F478B #8B2F75 #8B732F
square
#2F8B45 #2F478B #8B2F75 #8B732F
split-complementary
#2F8B45 #732F8B #8B2F47
monochromatic
#103018 #205D2E #2F8B45 #3EB95C #68CC80

Accessibility & contrast

On white

4.29
#2F8B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#2F8B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8B45
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8B45#FFFFFF#000000##000000
##2F8B451.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F3F
Deuteranopia (green-blind)
#81774A
Tritanopia (blue-blind)
#10887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8b45;
/* rgb */ color: rgb(47, 139, 69);
/* oklch */ color: oklch(56.5% 0.136 148.1);
Tailwind
colors: {
  custom: {
    50: '#73ae7a',
    500: '#2f8b45',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b45;
$custom-light: #73ae7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b45",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 69
  },
  "hsl": {
    "h": 134.348,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56542,
    "c": 0.13595,
    "h": 148.1
  },
  "luminance": 0.19499
}

Semantic roles & 50–950 ramp

primary
#2F8B45
secondary
#B363A0
accent
#4FB8D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2F8B45

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

Preview Lab → · Contrast checker → · Palette generator →

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