#2FAF28#2FAF28

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

Color values

HEX#2FAF28
RGBrgb(47, 175, 40)
HSLhsl(117, 63%, 42%)
HSVhsv(117, 77%, 69%)
CMYKcmyk(73.1%, 0%, 77.1%, 31.4%)
CIE-LABlab(62.86, -58.83, 55.15)
CIE-LCHlch(62.86, 80.64, 136.85°)
OKLaboklab(66.05% -0.16 0.1237)
OKLCHoklch(66.05% 0.202 142.3)
XYZxyz(16.8843, 31.4156, 7.1811)
Luminance0.3142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAF28 #A828AF
analogous
#73AF28 #2FAF28 #28AF65
triadic
#2FAF28 #282FAF #AF282F
tetradic
#2FAF28 #2873AF #A828AF #AF6528
square
#2FAF28 #2873AF #A828AF #AF6528
split-complementary
#2FAF28 #6528AF #AF2873
monochromatic
#144B11 #227D1D #2FAF28 #48D441 #78DF73

Accessibility & contrast

On white

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

On black

7.28
#2FAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAF28
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAF28#FFFFFF#000000##000000
##2FAF281.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2faf28;
/* rgb */ color: rgb(47, 175, 40);
/* oklch */ color: oklch(66.1% 0.202 142.3);
Tailwind
colors: {
  custom: {
    50: '#7cc86c',
    500: '#2faf28',
    950: '#000000',
  },
}
SCSS
$custom: #2faf28;
$custom-light: #7cc86c;
$custom-dark: #000000;
JSON
{
  "hex": "#2faf28",
  "rgb": {
    "r": 47,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 116.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66052,
    "c": 0.20227,
    "h": 142.3
  },
  "luminance": 0.31417
}

Semantic roles & 50–950 ramp

primary
#2FAF28
secondary
#C16DC6
accent
#42E6DD
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2FAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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