#2F8E19#2F8E19

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

Color values

HEX#2F8E19
RGBrgb(47, 142, 25)
HSLhsl(109, 70%, 33%)
HSVhsv(109, 82%, 56%)
CMYKcmyk(66.9%, 0%, 82.4%, 44.3%)
CIE-LABlab(51.86, -48.69, 49.41)
CIE-LCHlch(51.86, 69.36, 134.58°)
OKLaboklab(56.9% -0.1334 0.1096)
OKLCHoklch(56.9% 0.173 140.6)
XYZxyz(11.0202, 20.0194, 4.2029)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E19 #78198E
analogous
#698E19 #2F8E19 #198E3D
triadic
#2F8E19 #192F8E #8E192F
tetradic
#2F8E19 #19698E #78198E #8E3D19
square
#2F8E19 #19698E #78198E #8E3D19
split-complementary
#2F8E19 #3D198E #8E1969
monochromatic
#0D2607 #1E5A10 #2F8E19 #40C222 #60DE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8E19#FFFFFF#000000##000000
##2F8E191.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: #2f8e19;
/* rgb */ color: rgb(47, 142, 25);
/* oklch */ color: oklch(56.9% 0.173 140.6);
Tailwind
colors: {
  custom: {
    50: '#76b061',
    500: '#2f8e19',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e19;
$custom-light: #76b061;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e19",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 108.718,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56901,
    "c": 0.17263,
    "h": 140.6
  },
  "luminance": 0.20021
}

Semantic roles & 50–950 ramp

primary
#2F8E19
secondary
#A844BF
accent
#3BEDCB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #2F8E19

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

Preview Lab → · Contrast checker → · Palette generator →

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