#2F9F2C#2F9F2C

#2F9F2C is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.7% C 0.182 H 142.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2F9F2C
RGBrgb(47, 159, 44)
HSLhsl(118, 57%, 40%)
HSVhsv(118, 72%, 62%)
CMYKcmyk(70.4%, 0%, 72.3%, 37.6%)
CIE-LABlab(57.64, -53.19, 48.47)
CIE-LCHlch(57.64, 71.96, 137.66°)
OKLaboklab(61.73% -0.1446 0.1103)
OKLCHoklch(61.73% 0.182 142.7)
XYZxyz(14.0242, 25.5809, 6.5809)
Luminance0.2558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9F2C #9C2C9F
analogous
#689F2C #2F9F2C #2C9F63
triadic
#2F9F2C #2C2F9F #9F2C2F
tetradic
#2F9F2C #2C689F #9C2C9F #9F632C
square
#2F9F2C #2C689F #9C2C9F #9F632C
split-complementary
#2F9F2C #632C9F #9F2C68
monochromatic
#133F11 #216F1F #2F9F2C #42CA3E #71D76E

Accessibility & contrast

On white

3.43
#2F9F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#2F9F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9F2C
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9F2C#FFFFFF#000000##000000
##2F9F2C1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39019
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#0E9A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2f9f2c;
/* rgb */ color: rgb(47, 159, 44);
/* oklch */ color: oklch(61.7% 0.182 142.7);
Tailwind
colors: {
  custom: {
    50: '#78bc6c',
    500: '#2f9f2c',
    950: '#000000',
  },
}
SCSS
$custom: #2f9f2c;
$custom-light: #78bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9f2c",
  "rgb": {
    "r": 47,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 118.435,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61728,
    "c": 0.18184,
    "h": 142.7
  },
  "luminance": 0.25582
}

Semantic roles & 50–950 ramp

primary
#2F9F2C
secondary
#BC69BE
accent
#48E0DC
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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