#2FA231#2FA231

#2FA231 is a light, vivid green. Relative luminance 0.267; OKLCH L 62.6% C 0.182 H 143.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2FA231
RGBrgb(47, 162, 49)
HSLhsl(121, 55%, 41%)
HSVhsv(121, 71%, 64%)
CMYKcmyk(71%, 0%, 69.8%, 36.5%)
CIE-LABlab(58.66, -53.76, 47.55)
CIE-LCHlch(58.66, 71.78, 138.51°)
OKLaboklab(62.59% -0.1459 0.109)
OKLCHoklch(62.59% 0.182 143.2)
XYZxyz(14.6461, 26.6652, 7.2802)
Luminance0.2667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA231 #A22FA0
analogous
#66A22F #2FA231 #2FA26A
triadic
#2FA231 #312FA2 #A2312F
tetradic
#2FA231 #2F66A2 #A22FA0 #A26A2F
square
#2FA231 #2F66A2 #A22FA0 #A26A2F
split-complementary
#2FA231 #6A2FA2 #A22F66
monochromatic
#134314 #217323 #2FA231 #45C947 #75D776

Accessibility & contrast

On white

3.32
#2FA231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#2FA231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA231
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA231#FFFFFF#000000##000000
##2FA2311.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59320
Deuteranopia (green-blind)
#988A3C
Tritanopia (blue-blind)
#089D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2fa231;
/* rgb */ color: rgb(47, 162, 49);
/* oklch */ color: oklch(62.6% 0.182 143.2);
Tailwind
colors: {
  custom: {
    50: '#79bf6f',
    500: '#2fa231',
    950: '#000000',
  },
}
SCSS
$custom: #2fa231;
$custom-light: #79bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa231",
  "rgb": {
    "r": 47,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 121.043,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62591,
    "c": 0.1821,
    "h": 143.2
  },
  "luminance": 0.26667
}

Semantic roles & 50–950 ramp

primary
#2FA231
secondary
#BF6EBD
accent
#49DCDE
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #2FA231

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

Preview Lab → · Contrast checker → · Palette generator →

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