#2F8D30#2F8D30

#2F8D30 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.157 H 143.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2F8D30
RGBrgb(47, 141, 48)
HSLhsl(121, 50%, 37%)
HSVhsv(121, 67%, 55%)
CMYKcmyk(66.7%, 0%, 66%, 44.7%)
CIE-LABlab(51.69, -46.40, 40.43)
CIE-LCHlch(51.69, 61.54, 138.93°)
OKLaboklab(56.81% -0.126 0.0939)
OKLCHoklch(56.81% 0.157 143.3)
XYZxyz(11.2300, 19.8664, 6.0385)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D30 #8D2F8C
analogous
#5D8D2F #2F8D30 #2F8D5F
triadic
#2F8D30 #302F8D #8D302F
tetradic
#2F8D30 #2F5D8D #8D2F8C #8D5F2F
square
#2F8D30 #2F5D8D #8D2F8C #8D5F2F
split-complementary
#2F8D30 #5F2F8D #8D2F5D
monochromatic
#103111 #205F20 #2F8D30 #3EBB40 #69CD6A

Accessibility & contrast

On white

4.22
#2F8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#2F8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D30
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D30#FFFFFF#000000##000000
##2F8D301.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908025
Deuteranopia (green-blind)
#857838
Tritanopia (blue-blind)
#19897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d30;
/* rgb */ color: rgb(47, 141, 48);
/* oklch */ color: oklch(56.8% 0.157 143.3);
Tailwind
colors: {
  custom: {
    50: '#74af6c',
    500: '#2f8d30',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d30;
$custom-light: #74af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d30",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 120.638,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5681,
    "c": 0.15708,
    "h": 143.3
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#2F8D30
secondary
#B464B3
accent
#4ED8DA
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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