#2F8A34#2F8A34

#2F8A34 is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.150 H 144.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2F8A34
RGBrgb(47, 138, 52)
HSLhsl(123, 49%, 36%)
HSVhsv(123, 66%, 54%)
CMYKcmyk(65.9%, 0%, 62.3%, 45.9%)
CIE-LABlab(50.72, -44.81, 37.48)
CIE-LCHlch(50.72, 58.42, 140.09°)
OKLaboklab(56.02% -0.1215 0.088)
OKLCHoklch(56.02% 0.15 144.1)
XYZxyz(10.8799, 19.0281, 6.3476)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A34 #8A2F85
analogous
#588A2F #2F8A34 #2F8A62
triadic
#2F8A34 #342F8A #8A342F
tetradic
#2F8A34 #2F588A #8A2F85 #8A622F
square
#2F8A34 #2F588A #8A2F85 #8A622F
split-complementary
#2F8A34 #622F8A #8A2F58
monochromatic
#102F12 #1F5C23 #2F8A34 #3FB845 #68CC6D

Accessibility & contrast

On white

4.37
#2F8A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2F8A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A34
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A34#FFFFFF#000000##000000
##2F8A341.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D2B
Deuteranopia (green-blind)
#81763B
Tritanopia (blue-blind)
#1A8678
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a34;
/* rgb */ color: rgb(47, 138, 52);
/* oklch */ color: oklch(56.0% 0.150 144.1);
Tailwind
colors: {
  custom: {
    50: '#73ad6f',
    500: '#2f8a34',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a34;
$custom-light: #73ad6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a34",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 123.297,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56024,
    "c": 0.14999,
    "h": 144.1
  },
  "luminance": 0.19029
}

Semantic roles & 50–950 ramp

primary
#2F8A34
secondary
#B362AE
accent
#4FD1D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8A34

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

Preview Lab → · Contrast checker → · Palette generator →

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