#2FAF2A#2FAF2A

#2FAF2A is a light, highly saturated green. Relative luminance 0.314; OKLCH L 66.1% C 0.201 H 142.5°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2FAF2A
RGBrgb(47, 175, 42)
HSLhsl(118, 61%, 43%)
HSVhsv(118, 76%, 69%)
CMYKcmyk(73.1%, 0%, 76%, 31.4%)
CIE-LABlab(62.87, -58.68, 54.49)
CIE-LCHlch(62.87, 80.08, 137.12°)
OKLaboklab(66.07% -0.1595 0.1226)
OKLCHoklch(66.07% 0.201 142.5)
XYZxyz(16.9192, 31.4295, 7.3649)
Luminance0.3143 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAF2A #AA2AAF
analogous
#72AF2A #2FAF2A #2AAF67
triadic
#2FAF2A #2A2FAF #AF2A2F
tetradic
#2FAF2A #2A72AF #AA2AAF #AF672A
square
#2FAF2A #2A72AF #AA2AAF #AF672A
split-complementary
#2FAF2A #672AAF #AF2A72
monochromatic
#144C12 #227E1E #2FAF2A #49D244 #79DE75

Accessibility & contrast

On white

2.88
#2FAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#2FAF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAF2A
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAF2A#FFFFFF#000000##000000
##2FAF2A1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0C
Deuteranopia (green-blind)
#A59439
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2faf2a;
/* rgb */ color: rgb(47, 175, 42);
/* oklch */ color: oklch(66.1% 0.201 142.5);
Tailwind
colors: {
  custom: {
    50: '#7cc86d',
    500: '#2faf2a',
    950: '#000000',
  },
}
SCSS
$custom: #2faf2a;
$custom-light: #7cc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#2faf2a",
  "rgb": {
    "r": 47,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 117.744,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66066,
    "c": 0.20121,
    "h": 142.5
  },
  "luminance": 0.31431
}

Semantic roles & 50–950 ramp

primary
#2FAF2A
secondary
#C26FC6
accent
#43E4DE
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2FAF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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