#2F8F1C#2F8F1C

#2F8F1C is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.172 H 140.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F8F1C
RGBrgb(47, 143, 28)
HSLhsl(110, 67%, 34%)
HSVhsv(110, 80%, 56%)
CMYKcmyk(67.1%, 0%, 80.4%, 43.9%)
CIE-LABlab(52.21, -48.85, 48.80)
CIE-LCHlch(52.21, 69.05, 135.03°)
OKLaboklab(57.2% -0.1337 0.1088)
OKLCHoklch(57.2% 0.172 140.9)
XYZxyz(11.2038, 20.3320, 4.4324)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F1C #7C1C8F
analogous
#688F1C #2F8F1C #1C8F42
triadic
#2F8F1C #1C2F8F #8F1C2F
tetradic
#2F8F1C #1C688F #7C1C8F #8F421C
square
#2F8F1C #1C688F #7C1C8F #8F421C
split-complementary
#2F8F1C #421C8F #8F1C68
monochromatic
#0D2908 #1E5C12 #2F8F1C #40C226 #62DC4A

Accessibility & contrast

On white

4.14
#2F8F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2F8F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F1C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F1C#FFFFFF#000000##000000
##2F8F1C1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877A2A
Tritanopia (blue-blind)
#1D8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f1c;
/* rgb */ color: rgb(47, 143, 28);
/* oklch */ color: oklch(57.2% 0.172 140.9);
Tailwind
colors: {
  custom: {
    50: '#76b162',
    500: '#2f8f1c',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f1c;
$custom-light: #76b162;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f1c",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 110.087,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57197,
    "c": 0.17233,
    "h": 140.9
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#2F8F1C
secondary
#AA49BE
accent
#3EEACE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F8F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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