#2F8F1A#2F8F1A

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

Color values

HEX#2F8F1A
RGBrgb(47, 143, 26)
HSLhsl(109, 69%, 33%)
HSVhsv(109, 82%, 56%)
CMYKcmyk(67.1%, 0%, 81.8%, 43.9%)
CIE-LABlab(52.20, -48.98, 49.42)
CIE-LCHlch(52.20, 69.58, 134.74°)
OKLaboklab(57.18% -0.1341 0.1098)
OKLCHoklch(57.18% 0.173 140.7)
XYZxyz(11.1806, 20.3227, 4.3105)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F1A #7A1A8F
analogous
#698F1A #2F8F1A #1A8F3F
triadic
#2F8F1A #1A2F8F #8F1A2F
tetradic
#2F8F1A #1A698F #7A1A8F #8F3F1A
square
#2F8F1A #1A698F #7A1A8F #8F3F1A
split-complementary
#2F8F1A #3F1A8F #8F1A69
monochromatic
#0D2707 #1E5B11 #2F8F1A #40C323 #61DD46

Accessibility & contrast

On white

4.15
#2F8F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2F8F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F1A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F1A#FFFFFF#000000##000000
##2F8F1A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#1E8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8f1a;
/* rgb */ color: rgb(47, 143, 26);
/* oklch */ color: oklch(57.2% 0.173 140.7);
Tailwind
colors: {
  custom: {
    50: '#76b161',
    500: '#2f8f1a',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f1a;
$custom-light: #76b161;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f1a",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 109.231,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57185,
    "c": 0.1733,
    "h": 140.7
  },
  "luminance": 0.20324
}

Semantic roles & 50–950 ramp

primary
#2F8F1A
secondary
#A946BF
accent
#3CECCC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #2F8F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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