#2F8D1D#2F8D1D

#2F8D1D is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.169 H 140.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F8D1D
RGBrgb(47, 141, 29)
HSLhsl(110, 66%, 33%)
HSVhsv(110, 79%, 55%)
CMYKcmyk(66.7%, 0%, 79.4%, 44.7%)
CIE-LABlab(51.54, -48.08, 47.84)
CIE-LCHlch(51.54, 67.82, 135.14°)
OKLaboklab(56.65% -0.1315 0.1069)
OKLCHoklch(56.65% 0.169 140.9)
XYZxyz(10.9184, 19.7417, 4.3973)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D1D #7B1D8D
analogous
#678D1D #2F8D1D #1D8D43
triadic
#2F8D1D #1D2F8D #8D1D2F
tetradic
#2F8D1D #1D678D #7B1D8D #8D431D
square
#2F8D1D #1D678D #7B1D8D #8D431D
split-complementary
#2F8D1D #431D8D #8D1D67
monochromatic
#0D2708 #1E5A13 #2F8D1D #40C027 #62DA4B

Accessibility & contrast

On white

4.24
#2F8D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2F8D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D1D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D1D#FFFFFF#000000##000000
##2F8D1D1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#1E8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d1d;
/* rgb */ color: rgb(47, 141, 29);
/* oklch */ color: oklch(56.6% 0.169 140.9);
Tailwind
colors: {
  custom: {
    50: '#75af62',
    500: '#2f8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d1d;
$custom-light: #75af62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d1d",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 110.357,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56647,
    "c": 0.16949,
    "h": 140.9
  },
  "luminance": 0.19743
}

Semantic roles & 50–950 ramp

primary
#2F8D1D
secondary
#AA4ABC
accent
#3FE9CE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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