#2F8D15#2F8D15

#2F8D15 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.173 H 140.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2F8D15
RGBrgb(47, 141, 21)
HSLhsl(107, 74%, 32%)
HSVhsv(107, 85%, 55%)
CMYKcmyk(66.7%, 0%, 85.1%, 44.7%)
CIE-LABlab(51.50, -48.55, 50.22)
CIE-LCHlch(51.50, 69.85, 134.03°)
OKLaboklab(56.6% -0.1332 0.1107)
OKLCHoklch(56.6% 0.173 140.3)
XYZxyz(10.8320, 19.7071, 3.9423)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D15 #73158D
analogous
#6B8D15 #2F8D15 #158D37
triadic
#2F8D15 #152F8D #8D152F
tetradic
#2F8D15 #156B8D #73158D #8D3715
square
#2F8D15 #156B8D #73158D #8D3715
split-complementary
#2F8D15 #37158D #8D156B
monochromatic
#0B2205 #1D580D #2F8D15 #41C21D #5FE23B

Accessibility & contrast

On white

4.25
#2F8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2F8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D15
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D15#FFFFFF#000000##000000
##2F8D151.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#1F8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d15;
/* rgb */ color: rgb(47, 141, 21);
/* oklch */ color: oklch(56.6% 0.173 140.3);
Tailwind
colors: {
  custom: {
    50: '#75af5f',
    500: '#2f8d15',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d15;
$custom-light: #75af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d15",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 107,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56602,
    "c": 0.17321,
    "h": 140.3
  },
  "luminance": 0.19708
}

Semantic roles & 50–950 ramp

primary
#2F8D15
secondary
#A43DC1
accent
#37F1C8
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #2F8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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