#2F8E1C#2F8E1C

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

Color values

HEX#2F8E1C
RGBrgb(47, 142, 28)
HSLhsl(110, 67%, 33%)
HSVhsv(110, 80%, 56%)
CMYKcmyk(66.9%, 0%, 80.3%, 44.3%)
CIE-LABlab(51.87, -48.50, 48.48)
CIE-LCHlch(51.87, 68.58, 135.01°)
OKLaboklab(56.92% -0.1327 0.1081)
OKLCHoklch(56.92% 0.171 140.8)
XYZxyz(11.0543, 20.0331, 4.3826)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E1C #7B1C8E
analogous
#688E1C #2F8E1C #1C8E42
triadic
#2F8E1C #1C2F8E #8E1C2F
tetradic
#2F8E1C #1C688E #7B1C8E #8E421C
square
#2F8E1C #1C688E #7B1C8E #8E421C
split-complementary
#2F8E1C #421C8E #8E1C68
monochromatic
#0D2808 #1E5B12 #2F8E1C #40C126 #62DB49

Accessibility & contrast

On white

4.19
#2F8E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2F8E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E1C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E1C#FFFFFF#000000##000000
##2F8E1C1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f8e1c;
/* rgb */ color: rgb(47, 142, 28);
/* oklch */ color: oklch(56.9% 0.171 140.8);
Tailwind
colors: {
  custom: {
    50: '#75b062',
    500: '#2f8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e1c;
$custom-light: #75b062;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e1c",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 110,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56919,
    "c": 0.17117,
    "h": 140.8
  },
  "luminance": 0.20034
}

Semantic roles & 50–950 ramp

primary
#2F8E1C
secondary
#AA49BD
accent
#3EEACD
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2F8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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