#2F8E34#2F8E34

#2F8E34 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.155 H 144.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F8E34
RGBrgb(47, 142, 52)
HSLhsl(123, 50%, 37%)
HSVhsv(123, 67%, 56%)
CMYKcmyk(66.9%, 0%, 63.4%, 44.3%)
CIE-LABlab(52.06, -46.32, 39.01)
CIE-LCHlch(52.06, 60.55, 139.89°)
OKLaboklab(57.13% -0.1255 0.0913)
OKLCHoklch(57.13% 0.155 144)
XYZxyz(11.4644, 20.1971, 6.5424)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E34 #8E2F89
analogous
#5A8E2F #2F8E34 #2F8E64
triadic
#2F8E34 #342F8E #8E342F
tetradic
#2F8E34 #2F5A8E #8E2F89 #8E642F
square
#2F8E34 #2F5A8E #8E2F89 #8E642F
split-complementary
#2F8E34 #642F8E #8E2F5A
monochromatic
#113212 #206023 #2F8E34 #3EBC45 #6ACE6F

Accessibility & contrast

On white

4.17
#2F8E34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#2F8E34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E34
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E34#FFFFFF#000000##000000
##2F8E341.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812A
Deuteranopia (green-blind)
#85793C
Tritanopia (blue-blind)
#178A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e34;
/* rgb */ color: rgb(47, 142, 52);
/* oklch */ color: oklch(57.1% 0.155 144.0);
Tailwind
colors: {
  custom: {
    50: '#74b06f',
    500: '#2f8e34',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e34;
$custom-light: #74b06f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e34",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 52
  },
  "hsl": {
    "h": 123.158,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57131,
    "c": 0.15519,
    "h": 144
  },
  "luminance": 0.20198
}

Semantic roles & 50–950 ramp

primary
#2F8E34
secondary
#B564B0
accent
#4ED2DA
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F8E34

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

Preview Lab → · Contrast checker → · Palette generator →

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