#2FAF30#2FAF30

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

Color values

HEX#2FAF30
RGBrgb(47, 175, 48)
HSLhsl(120, 58%, 44%)
HSVhsv(120, 73%, 69%)
CMYKcmyk(73.1%, 0%, 72.6%, 31.4%)
CIE-LABlab(62.91, -58.21, 52.37)
CIE-LCHlch(62.91, 78.30, 138.02°)
OKLaboklab(66.11% -0.158 0.119)
OKLCHoklch(66.11% 0.198 143)
XYZxyz(17.0347, 31.4758, 7.9734)
Luminance0.3148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAF30 #AF2FAE
analogous
#6EAF2F #2FAF30 #2FAF70
triadic
#2FAF30 #302FAF #AF302F
tetradic
#2FAF30 #2F6EAF #AF2FAE #AF702F
square
#2FAF30 #2F6EAF #AF2FAE #AF702F
split-complementary
#2FAF30 #702FAF #AF2F6E
monochromatic
#154F16 #227F23 #2FAF30 #4CCF4D #7CDC7D

Accessibility & contrast

On white

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

On black

7.30
#2FAF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAF30
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAF30#FFFFFF#000000##000000
##2FAF301.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2faf30;
/* rgb */ color: rgb(47, 175, 48);
/* oklch */ color: oklch(66.1% 0.198 143.0);
Tailwind
colors: {
  custom: {
    50: '#7cc870',
    500: '#2faf30',
    950: '#000000',
  },
}
SCSS
$custom: #2faf30;
$custom-light: #7cc870;
$custom-dark: #000000;
JSON
{
  "hex": "#2faf30",
  "rgb": {
    "r": 47,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 120.469,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.6611,
    "c": 0.19777,
    "h": 143
  },
  "luminance": 0.31478
}

Semantic roles & 50–950 ramp

primary
#2FAF30
secondary
#C475C4
accent
#47E0E1
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2FAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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