#2F8E2D#2F8E2D

#2F8E2D is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.161 H 142.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2F8E2D
RGBrgb(47, 142, 45)
HSLhsl(119, 52%, 37%)
HSVhsv(119, 68%, 56%)
CMYKcmyk(66.9%, 0%, 68.3%, 44.3%)
CIE-LABlab(51.99, -47.09, 42.10)
CIE-LCHlch(51.99, 63.16, 138.20°)
OKLaboklab(57.06% -0.128 0.097)
OKLCHoklch(57.06% 0.161 142.8)
XYZxyz(11.3183, 20.1386, 5.7728)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E2D #8C2D8E
analogous
#608E2D #2F8E2D #2D8E5C
triadic
#2F8E2D #2D2F8E #8E2D2F
tetradic
#2F8E2D #2D608E #8C2D8E #8E5C2D
square
#2F8E2D #2D608E #8C2D8E #8E5C2D
split-complementary
#2F8E2D #5C2D8E #8E2D60
monochromatic
#103110 #20601E #2F8E2D #3EBC3C #69CF67

Accessibility & contrast

On white

4.18
#2F8E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#2F8E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E2D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E2D#FFFFFF#000000##000000
##2F8E2D1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#1A8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e2d;
/* rgb */ color: rgb(47, 142, 45);
/* oklch */ color: oklch(57.1% 0.161 142.8);
Tailwind
colors: {
  custom: {
    50: '#75b06b',
    500: '#2f8e2d',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e2d;
$custom-light: #75b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e2d",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 118.763,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57056,
    "c": 0.1606,
    "h": 142.8
  },
  "luminance": 0.2014
}

Semantic roles & 50–950 ramp

primary
#2F8E2D
secondary
#B461B5
accent
#4CDBD8
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F8E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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