#2F8E18#2F8E18

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

Color values

HEX#2F8E18
RGBrgb(47, 142, 24)
HSLhsl(108, 71%, 33%)
HSVhsv(108, 83%, 56%)
CMYKcmyk(66.9%, 0%, 83.1%, 44.3%)
CIE-LABlab(51.85, -48.74, 49.70)
CIE-LCHlch(51.85, 69.61, 134.44°)
OKLaboklab(56.9% -0.1336 0.1101)
OKLCHoklch(56.9% 0.173 140.5)
XYZxyz(11.0096, 20.0152, 4.1471)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E18 #77188E
analogous
#6A8E18 #2F8E18 #188E3C
triadic
#2F8E18 #182F8E #8E182F
tetradic
#2F8E18 #186A8E #77188E #8E3C18
square
#2F8E18 #186A8E #77188E #8E3C18
split-complementary
#2F8E18 #3C188E #8E186A
monochromatic
#0C2506 #1E5A0F #2F8E18 #40C221 #60DF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8E18#FFFFFF#000000##000000
##2F8E181.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)
#877927
Tritanopia (blue-blind)
#1E8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e18;
/* rgb */ color: rgb(47, 142, 24);
/* oklch */ color: oklch(56.9% 0.173 140.5);
Tailwind
colors: {
  custom: {
    50: '#76b060',
    500: '#2f8e18',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e18;
$custom-light: #76b060;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e18",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 108.305,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56896,
    "c": 0.17307,
    "h": 140.5
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

primary
#2F8E18
secondary
#A742C0
accent
#3AEECB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #2F8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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