#2F8E2A#2F8E2A

#2F8E2A is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.163 H 142.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2F8E2A
RGBrgb(47, 142, 42)
HSLhsl(117, 54%, 36%)
HSVhsv(117, 70%, 56%)
CMYKcmyk(66.9%, 0%, 70.4%, 44.3%)
CIE-LABlab(51.97, -47.38, 43.35)
CIE-LCHlch(51.97, 64.22, 137.55°)
OKLaboklab(57.03% -0.1289 0.0993)
OKLCHoklch(57.03% 0.163 142.4)
XYZxyz(11.2626, 20.1164, 5.4793)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E2A #892A8E
analogous
#618E2A #2F8E2A #2A8E57
triadic
#2F8E2A #2A2F8E #8E2A2F
tetradic
#2F8E2A #2A618E #892A8E #8E572A
square
#2F8E2A #2A618E #892A8E #8E572A
split-complementary
#2F8E2A #572A8E #8E2A61
monochromatic
#10300E #1F5F1C #2F8E2A #3FBD38 #67D162

Accessibility & contrast

On white

4.18
#2F8E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2F8E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E2A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E2A#FFFFFF#000000##000000
##2F8E2A1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811B
Deuteranopia (green-blind)
#867933
Tritanopia (blue-blind)
#1B8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e2a;
/* rgb */ color: rgb(47, 142, 42);
/* oklch */ color: oklch(57.0% 0.163 142.4);
Tailwind
colors: {
  custom: {
    50: '#75b069',
    500: '#2f8e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e2a;
$custom-light: #75b069;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e2a",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 117,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57027,
    "c": 0.16275,
    "h": 142.4
  },
  "luminance": 0.20118
}

Semantic roles & 50–950 ramp

primary
#2F8E2A
secondary
#B25DB6
accent
#4ADED6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F8E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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