#2F8F2A#2F8F2A

#2F8F2A is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.164 H 142.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2F8F2A
RGBrgb(47, 143, 42)
HSLhsl(117, 55%, 36%)
HSVhsv(117, 71%, 56%)
CMYKcmyk(67.1%, 0%, 70.6%, 43.9%)
CIE-LABlab(52.30, -47.74, 43.70)
CIE-LCHlch(52.30, 64.73, 137.53°)
OKLaboklab(57.3% -0.1299 0.1001)
OKLCHoklch(57.3% 0.164 142.4)
XYZxyz(11.4120, 20.4153, 5.5292)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F2A #8A2A8F
analogous
#628F2A #2F8F2A #2A8F58
triadic
#2F8F2A #2A2F8F #8F2A2F
tetradic
#2F8F2A #2A628F #8A2A8F #8F582A
square
#2F8F2A #2A628F #8A2A8F #8F582A
split-complementary
#2F8F2A #582A8F #8F2A62
monochromatic
#10300E #1F601C #2F8F2A #3FBE38 #68D162

Accessibility & contrast

On white

4.13
#2F8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2F8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F2A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F2A#FFFFFF#000000##000000
##2F8F2A1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821B
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#1A8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f2a;
/* rgb */ color: rgb(47, 143, 42);
/* oklch */ color: oklch(57.3% 0.164 142.4);
Tailwind
colors: {
  custom: {
    50: '#75b169',
    500: '#2f8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f2a;
$custom-light: #75b169;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f2a",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 117.03,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57304,
    "c": 0.16398,
    "h": 142.4
  },
  "luminance": 0.20416
}

Semantic roles & 50–950 ramp

primary
#2F8F2A
secondary
#B35EB7
accent
#4ADED7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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