#2F8034#2F8034

#2F8034 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.137 H 144.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2F8034
RGBrgb(47, 128, 52)
HSLhsl(124, 46%, 34%)
HSVhsv(124, 63%, 50%)
CMYKcmyk(63.3%, 0%, 59.4%, 49.8%)
CIE-LABlab(47.35, -40.94, 33.58)
CIE-LCHlch(47.35, 52.95, 140.64°)
OKLaboklab(53.24% -0.111 0.0796)
OKLCHoklch(53.24% 0.137 144.4)
XYZxyz(9.5107, 16.2897, 5.8912)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8034 #802F7B
analogous
#53802F #2F8034 #2F805D
triadic
#2F8034 #342F80 #80342F
tetradic
#2F8034 #2F5380 #802F7B #805D2F
square
#2F8034 #2F5380 #802F7B #805D2F
split-complementary
#2F8034 #5D2F80 #802F53
monochromatic
#0E2610 #1F5322 #2F8034 #3FAD46 #63C66A

Accessibility & contrast

On white

4.93
#2F8034 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2F8034 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8034
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8034#FFFFFF#000000##FFFFFF
##2F80341.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82752C
Deuteranopia (green-blind)
#786E3A
Tritanopia (blue-blind)
#1E7D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8034;
/* rgb */ color: rgb(47, 128, 52);
/* oklch */ color: oklch(53.2% 0.137 144.4);
Tailwind
colors: {
  custom: {
    50: '#71a66e',
    500: '#2f8034',
    950: '#000000',
  },
}
SCSS
$custom: #2f8034;
$custom-light: #71a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8034",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 52
  },
  "hsl": {
    "h": 123.704,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53243,
    "c": 0.13655,
    "h": 144.4
  },
  "luminance": 0.16291
}

Semantic roles & 50–950 ramp

primary
#2F8034
secondary
#AD5EA8
accent
#52CED6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F8034

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

Preview Lab → · Contrast checker → · Palette generator →

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