#2F9C21#2F9C21

#2F9C21 is a mid, vivid green. Relative luminance 0.245; OKLCH L 60.8% C 0.185 H 141.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2F9C21
RGBrgb(47, 156, 33)
HSLhsl(113, 65%, 37%)
HSVhsv(113, 79%, 61%)
CMYKcmyk(69.9%, 0%, 78.8%, 38.8%)
CIE-LABlab(56.57, -53.02, 51.36)
CIE-LCHlch(56.57, 73.82, 135.91°)
OKLaboklab(60.83% -0.1446 0.1148)
OKLCHoklch(60.83% 0.185 141.6)
XYZxyz(13.3345, 24.4897, 5.4628)
Luminance0.2449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9C21 #8E219C
analogous
#6C9C21 #2F9C21 #219C51
triadic
#2F9C21 #212F9C #9C212F
tetradic
#2F9C21 #216C9C #8E219C #9C5121
square
#2F9C21 #216C9C #8E219C #9C5121
split-complementary
#2F9C21 #51219C #9C216C
monochromatic
#11370C #206916 #2F9C21 #3ECF2C #6ADC5B

Accessibility & contrast

On white

3.56
#2F9C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#2F9C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9C21
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9C21#FFFFFF#000000##000000
##2F9C211.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#159785
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2f9c21;
/* rgb */ color: rgb(47, 156, 33);
/* oklch */ color: oklch(60.8% 0.185 141.6);
Tailwind
colors: {
  custom: {
    50: '#78ba66',
    500: '#2f9c21',
    950: '#000000',
  },
}
SCSS
$custom: #2f9c21;
$custom-light: #78ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9c21",
  "rgb": {
    "r": 47,
    "g": 156,
    "b": 33
  },
  "hsl": {
    "h": 113.171,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60825,
    "c": 0.18469,
    "h": 141.6
  },
  "luminance": 0.24491
}

Semantic roles & 50–950 ramp

primary
#2F9C21
secondary
#B558C1
accent
#40E8D5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2F9C21

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

Preview Lab → · Contrast checker → · Palette generator →

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