#2F8C2D#2F8C2D

#2F8C2D is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.158 H 142.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2F8C2D
RGBrgb(47, 140, 45)
HSLhsl(119, 51%, 36%)
HSVhsv(119, 68%, 55%)
CMYKcmyk(66.4%, 0%, 67.9%, 45.1%)
CIE-LABlab(51.32, -46.35, 41.37)
CIE-LCHlch(51.32, 62.13, 138.25°)
OKLaboklab(56.5% -0.126 0.0955)
OKLCHoklch(56.5% 0.158 142.8)
XYZxyz(11.0234, 19.5489, 5.6745)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8C2D #8A2D8C
analogous
#5F8C2D #2F8C2D #2D8C5B
triadic
#2F8C2D #2D2F8C #8C2D2F
tetradic
#2F8C2D #2D5F8C #8A2D8C #8C5B2D
square
#2F8C2D #2D5F8C #8A2D8C #8C5B2D
split-complementary
#2F8C2D #5B2D8C #8C2D5F
monochromatic
#102F0F #1F5E1E #2F8C2D #3FBA3C #68CE66

Accessibility & contrast

On white

4.28
#2F8C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#2F8C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8C2D
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8C2D#FFFFFF#000000##000000
##2F8C2D1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#1B8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8c2d;
/* rgb */ color: rgb(47, 140, 45);
/* oklch */ color: oklch(56.5% 0.158 142.8);
Tailwind
colors: {
  custom: {
    50: '#74ae6b',
    500: '#2f8c2d',
    950: '#000000',
  },
}
SCSS
$custom: #2f8c2d;
$custom-light: #74ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8c2d",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 118.737,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56501,
    "c": 0.15809,
    "h": 142.8
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#2F8C2D
secondary
#B360B4
accent
#4DDBD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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