#2FA238#2FA238

#2FA238 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.177 H 144.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#2FA238
RGBrgb(47, 162, 56)
HSLhsl(125, 55%, 41%)
HSVhsv(125, 71%, 64%)
CMYKcmyk(71%, 0%, 65.4%, 36.5%)
CIE-LABlab(58.72, -53.05, 44.65)
CIE-LCHlch(58.72, 69.34, 139.91°)
OKLaboklab(62.66% -0.1436 0.1037)
OKLCHoklch(62.66% 0.177 144.2)
XYZxyz(14.8055, 26.7289, 8.1195)
Luminance0.2673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA238 #A22F99
analogous
#5FA22F #2FA238 #2FA271
triadic
#2FA238 #382FA2 #A2382F
tetradic
#2FA238 #2F5FA2 #A22F99 #A2712F
square
#2FA238 #2F5FA2 #A22F99 #A2712F
split-complementary
#2FA238 #712FA2 #A22F5F
monochromatic
#134317 #217328 #2FA238 #45C94F #75D77C

Accessibility & contrast

On white

3.31
#2FA238 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#2FA238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA238
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA238#FFFFFF#000000##000000
##2FA2381.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932B
Deuteranopia (green-blind)
#988A41
Tritanopia (blue-blind)
#039E8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2fa238;
/* rgb */ color: rgb(47, 162, 56);
/* oklch */ color: oklch(62.7% 0.177 144.2);
Tailwind
colors: {
  custom: {
    50: '#78bf73',
    500: '#2fa238',
    950: '#000000',
  },
}
SCSS
$custom: #2fa238;
$custom-light: #78bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa238",
  "rgb": {
    "r": 47,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 124.696,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6266,
    "c": 0.17712,
    "h": 144.2
  },
  "luminance": 0.26731
}

Semantic roles & 50–950 ramp

primary
#2FA238
secondary
#BF6EB8
accent
#49D3DE
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #2FA238

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

Preview Lab → · Contrast checker → · Palette generator →

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