#2F8E15#2F8E15

#2F8E15 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.174 H 140.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2F8E15
RGBrgb(47, 142, 21)
HSLhsl(107, 74%, 32%)
HSVhsv(107, 85%, 56%)
CMYKcmyk(66.9%, 0%, 85.2%, 44.3%)
CIE-LABlab(51.84, -48.90, 50.53)
CIE-LCHlch(51.84, 70.32, 134.06°)
OKLaboklab(56.88% -0.1341 0.1114)
OKLCHoklch(56.88% 0.174 140.3)
XYZxyz(10.9801, 20.0034, 3.9917)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E15 #74158E
analogous
#6C8E15 #2F8E15 #158E37
triadic
#2F8E15 #152F8E #8E152F
tetradic
#2F8E15 #156C8E #74158E #8E3715
square
#2F8E15 #156C8E #74158E #8E3715
split-complementary
#2F8E15 #37158E #8E156C
monochromatic
#0C2305 #1D590D #2F8E15 #41C31D #5FE23B

Accessibility & contrast

On white

4.20
#2F8E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2F8E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E15
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E15#FFFFFF#000000##000000
##2F8E151.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#1F8978
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e15;
/* rgb */ color: rgb(47, 142, 21);
/* oklch */ color: oklch(56.9% 0.174 140.3);
Tailwind
colors: {
  custom: {
    50: '#76b05f',
    500: '#2f8e15',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e15;
$custom-light: #76b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e15",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 107.107,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5688,
    "c": 0.17435,
    "h": 140.3
  },
  "luminance": 0.20004
}

Semantic roles & 50–950 ramp

primary
#2F8E15
secondary
#A53DC2
accent
#37F1C9
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #2F8E15

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

Preview Lab → · Contrast checker → · Palette generator →

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