#2F8541#2F8541

#2F8541 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.131 H 147.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F8541
RGBrgb(47, 133, 65)
HSLhsl(133, 48%, 35%)
HSVhsv(133, 65%, 52%)
CMYKcmyk(64.7%, 0%, 51.1%, 47.8%)
CIE-LABlab(49.20, -41.04, 29.10)
CIE-LCHlch(49.20, 50.30, 144.66°)
OKLaboklab(54.82% -0.1108 0.0705)
OKLCHoklch(54.82% 0.131 147.5)
XYZxyz(10.5132, 17.7600, 7.8740)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8541 #852F73
analogous
#48852F #2F8541 #2F856C
triadic
#2F8541 #412F85 #85412F
tetradic
#2F8541 #2F4885 #852F73 #856C2F
square
#2F8541 #2F4885 #852F73 #856C2F
split-complementary
#2F8541 #6C2F85 #852F48
monochromatic
#0F2B15 #1F582B #2F8541 #3FB257 #66C97A

Accessibility & contrast

On white

4.61
#2F8541 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2F8541 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8541
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8541#FFFFFF#000000##FFFFFF
##2F85411.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A3B
Deuteranopia (green-blind)
#7C7246
Tritanopia (blue-blind)
#168275
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8541;
/* rgb */ color: rgb(47, 133, 65);
/* oklch */ color: oklch(54.8% 0.131 147.5);
Tailwind
colors: {
  custom: {
    50: '#72a977',
    500: '#2f8541',
    950: '#000000',
  },
}
SCSS
$custom: #2f8541;
$custom-light: #72a977;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8541",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 65
  },
  "hsl": {
    "h": 132.558,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54824,
    "c": 0.13137,
    "h": 147.5
  },
  "luminance": 0.17761
}

Semantic roles & 50–950 ramp

primary
#2F8541
secondary
#B0609F
accent
#50BBD7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2F8541

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

Preview Lab → · Contrast checker → · Palette generator →

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