#2FAF2B#2FAF2B

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

Color values

HEX#2FAF2B
RGBrgb(47, 175, 43)
HSLhsl(118, 61%, 43%)
HSVhsv(118, 75%, 69%)
CMYKcmyk(73.1%, 0%, 75.4%, 31.4%)
CIE-LABlab(62.87, -58.61, 54.15)
CIE-LCHlch(62.87, 79.80, 137.26°)
OKLaboklab(66.07% -0.1593 0.122)
OKLCHoklch(66.07% 0.201 142.5)
XYZxyz(16.9373, 31.4368, 7.4603)
Luminance0.3144 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAF2B #AB2BAF
analogous
#71AF2B #2FAF2B #2BAF69
triadic
#2FAF2B #2B2FAF #AF2B2F
tetradic
#2FAF2B #2B71AF #AB2BAF #AF692B
square
#2FAF2B #2B71AF #AB2BAF #AF692B
split-complementary
#2FAF2B #692BAF #AF2B71
monochromatic
#154D13 #227E1F #2FAF2B #4AD146 #7ADE77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FAF2B#FFFFFF#000000##000000
##2FAF2B1.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)
#B39E0F
Deuteranopia (green-blind)
#A59439
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2faf2b;
/* rgb */ color: rgb(47, 175, 43);
/* oklch */ color: oklch(66.1% 0.201 142.5);
Tailwind
colors: {
  custom: {
    50: '#7cc86e',
    500: '#2faf2b',
    950: '#000000',
  },
}
SCSS
$custom: #2faf2b;
$custom-light: #7cc86e;
$custom-dark: #000000;
JSON
{
  "hex": "#2faf2b",
  "rgb": {
    "r": 47,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 118.182,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66073,
    "c": 0.20067,
    "h": 142.5
  },
  "luminance": 0.31439
}

Semantic roles & 50–950 ramp

primary
#2FAF2B
secondary
#C370C5
accent
#44E4DF
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2FAF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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