#2F9C2C#2F9C2C

#2F9C2C is a mid, vivid green. Relative luminance 0.246; OKLCH L 60.9% C 0.178 H 142.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2F9C2C
RGBrgb(47, 156, 44)
HSLhsl(118, 56%, 39%)
HSVhsv(118, 72%, 61%)
CMYKcmyk(69.9%, 0%, 71.8%, 38.8%)
CIE-LABlab(56.65, -52.16, 47.44)
CIE-LCHlch(56.65, 70.51, 137.71°)
OKLaboklab(60.91% -0.1418 0.1082)
OKLCHoklch(60.91% 0.178 142.7)
XYZxyz(13.5146, 24.5617, 6.4110)
Luminance0.2456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9C2C #992C9C
analogous
#679C2C #2F9C2C #2C9C61
triadic
#2F9C2C #2C2F9C #9C2C2F
tetradic
#2F9C2C #2C679C #992C9C #9C612C
square
#2F9C2C #2C679C #992C9C #9C612C
split-complementary
#2F9C2C #612C9C #9C2C67
monochromatic
#123D11 #216C1F #2F9C2C #41C83D #6FD66D

Accessibility & contrast

On white

3.55
#2F9C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#2F9C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9C2C
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9C2C#FFFFFF#000000##000000
##2F9C2C1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1A
Deuteranopia (green-blind)
#938537
Tritanopia (blue-blind)
#119786
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2f9c2c;
/* rgb */ color: rgb(47, 156, 44);
/* oklch */ color: oklch(60.9% 0.178 142.7);
Tailwind
colors: {
  custom: {
    50: '#78ba6c',
    500: '#2f9c2c',
    950: '#000000',
  },
}
SCSS
$custom: #2f9c2c;
$custom-light: #78ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9c2c",
  "rgb": {
    "r": 47,
    "g": 156,
    "b": 44
  },
  "hsl": {
    "h": 118.393,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60907,
    "c": 0.17831,
    "h": 142.7
  },
  "luminance": 0.24563
}

Semantic roles & 50–950 ramp

primary
#2F9C2C
secondary
#BA67BD
accent
#49DFDB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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