#2F8245#2F8245

#2F8245 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.123 H 149.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2F8245
RGBrgb(47, 130, 69)
HSLhsl(136, 47%, 35%)
HSVhsv(136, 64%, 51%)
CMYKcmyk(63.8%, 0%, 46.9%, 49%)
CIE-LABlab(48.26, -39.15, 25.75)
CIE-LCHlch(48.26, 46.86, 146.67°)
OKLaboklab(54.07% -0.1057 0.0631)
OKLCHoklch(54.07% 0.123 149.2)
XYZxyz(10.2284, 16.9983, 8.3710)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8245 #822F6C
analogous
#42822F #2F8245 #2F826F
triadic
#2F8245 #452F82 #82452F
tetradic
#2F8245 #2F4282 #822F6C #826F2F
square
#2F8245 #2F4282 #822F6C #826F2F
split-complementary
#2F8245 #6F2F82 #822F42
monochromatic
#0E2815 #1F552D #2F8245 #3FAF5D #64C77E

Accessibility & contrast

On white

4.77
#2F8245 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2F8245 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8245
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8245#FFFFFF#000000##FFFFFF
##2F82451.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837740
Deuteranopia (green-blind)
#787049
Tritanopia (blue-blind)
#168073
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8245;
/* rgb */ color: rgb(47, 130, 69);
/* oklch */ color: oklch(54.1% 0.123 149.2);
Tailwind
colors: {
  custom: {
    50: '#71a779',
    500: '#2f8245',
    950: '#000000',
  },
}
SCSS
$custom: #2f8245;
$custom-light: #71a779;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8245",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 69
  },
  "hsl": {
    "h": 135.904,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.12314,
    "h": 149.2
  },
  "luminance": 0.16999
}

Semantic roles & 50–950 ramp

primary
#2F8245
secondary
#AE5F99
accent
#51B3D7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F8245

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

Preview Lab → · Contrast checker → · Palette generator →

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