#2FAF2E#2FAF2E

#2FAF2E is a light, vivid green. Relative luminance 0.315; OKLCH L 66.1% C 0.199 H 142.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2FAF2E
RGBrgb(47, 175, 46)
HSLhsl(120, 58%, 43%)
HSVhsv(120, 74%, 69%)
CMYKcmyk(73.1%, 0%, 73.7%, 31.4%)
CIE-LABlab(62.89, -58.38, 53.10)
CIE-LCHlch(62.89, 78.91, 137.71°)
OKLaboklab(66.1% -0.1585 0.1202)
OKLCHoklch(66.1% 0.199 142.8)
XYZxyz(16.9944, 31.4596, 7.7609)
Luminance0.3146 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAF2E #AE2EAF
analogous
#6FAF2E #2FAF2E #2EAF6D
triadic
#2FAF2E #2E2FAF #AF2E2F
tetradic
#2FAF2E #2E6FAF #AE2EAF #AF6D2E
square
#2FAF2E #2E6FAF #AE2EAF #AF6D2E
split-complementary
#2FAF2E #6D2EAF #AF2E6F
monochromatic
#154E15 #227F21 #2FAF2E #4CD04B #7CDC7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FAF2E#FFFFFF#000000##000000
##2FAF2E1.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)
#B39E16
Deuteranopia (green-blind)
#A4943C
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2faf2e;
/* rgb */ color: rgb(47, 175, 46);
/* oklch */ color: oklch(66.1% 0.199 142.8);
Tailwind
colors: {
  custom: {
    50: '#7cc86f',
    500: '#2faf2e',
    950: '#000000',
  },
}
SCSS
$custom: #2faf2e;
$custom-light: #7cc86f;
$custom-dark: #000000;
JSON
{
  "hex": "#2faf2e",
  "rgb": {
    "r": 47,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 119.535,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66095,
    "c": 0.19896,
    "h": 142.8
  },
  "luminance": 0.31462
}

Semantic roles & 50–950 ramp

primary
#2FAF2E
secondary
#C474C5
accent
#46E2E0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2FAF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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