#2F8D29#2F8D29

#2F8D29 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.162 H 142.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2F8D29
RGBrgb(47, 141, 41)
HSLhsl(116, 55%, 36%)
HSVhsv(116, 71%, 55%)
CMYKcmyk(66.7%, 0%, 70.9%, 44.7%)
CIE-LABlab(51.63, -47.11, 43.40)
CIE-LCHlch(51.63, 64.06, 137.35°)
OKLaboklab(56.74% -0.1283 0.0993)
OKLCHoklch(56.74% 0.162 142.3)
XYZxyz(11.0968, 19.8131, 5.3369)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D29 #87298D
analogous
#618D29 #2F8D29 #298D55
triadic
#2F8D29 #292F8D #8D292F
tetradic
#2F8D29 #29618D #87298D #8D5529
square
#2F8D29 #29618D #87298D #8D5529
split-complementary
#2F8D29 #55298D #8D2961
monochromatic
#0F2E0D #1F5E1B #2F8D29 #3FBC37 #66D160

Accessibility & contrast

On white

4.23
#2F8D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2F8D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D29
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D29#FFFFFF#000000##000000
##2F8D291.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801A
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#1B8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d29;
/* rgb */ color: rgb(47, 141, 41);
/* oklch */ color: oklch(56.7% 0.162 142.3);
Tailwind
colors: {
  custom: {
    50: '#75af68',
    500: '#2f8d29',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d29;
$custom-light: #75af68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d29",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 116.4,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5674,
    "c": 0.16221,
    "h": 142.3
  },
  "luminance": 0.19814
}

Semantic roles & 50–950 ramp

primary
#2F8D29
secondary
#B15BB6
accent
#4ADED5
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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