#2F9A21#2F9A21

#2F9A21 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.3% C 0.182 H 141.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2F9A21
RGBrgb(47, 154, 33)
HSLhsl(113, 65%, 37%)
HSVhsv(113, 79%, 60%)
CMYKcmyk(69.5%, 0%, 78.6%, 39.6%)
CIE-LABlab(55.91, -52.34, 50.72)
CIE-LCHlch(55.91, 72.88, 135.90°)
OKLaboklab(60.27% -0.1428 0.1135)
OKLCHoklch(60.27% 0.182 141.5)
XYZxyz(13.0017, 23.8240, 5.3518)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9A21 #8C219A
analogous
#6C9A21 #2F9A21 #219A50
triadic
#2F9A21 #212F9A #9A212F
tetradic
#2F9A21 #216C9A #8C219A #9A5021
square
#2F9A21 #216C9A #8C219A #9A5021
split-complementary
#2F9A21 #50219A #9A216C
monochromatic
#10350B #206816 #2F9A21 #3ECC2C #69DC5A

Accessibility & contrast

On white

3.64
#2F9A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#2F9A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9A21
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9A21#FFFFFF#000000##000000
##2F9A211.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B01
Deuteranopia (green-blind)
#91832F
Tritanopia (blue-blind)
#169583
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2f9a21;
/* rgb */ color: rgb(47, 154, 33);
/* oklch */ color: oklch(60.3% 0.182 141.5);
Tailwind
colors: {
  custom: {
    50: '#78b966',
    500: '#2f9a21',
    950: '#000000',
  },
}
SCSS
$custom: #2f9a21;
$custom-light: #78b966;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9a21",
  "rgb": {
    "r": 47,
    "g": 154,
    "b": 33
  },
  "hsl": {
    "h": 113.058,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60274,
    "c": 0.18241,
    "h": 141.5
  },
  "luminance": 0.23825
}

Semantic roles & 50–950 ramp

primary
#2F9A21
secondary
#B457C0
accent
#40E8D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2F9A21

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

Preview Lab → · Contrast checker → · Palette generator →

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