#2F8029#2F8029

#2F8029 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.146 H 142.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F8029
RGBrgb(47, 128, 41)
HSLhsl(116, 51%, 33%)
HSVhsv(116, 68%, 50%)
CMYKcmyk(63.3%, 0%, 68%, 49.8%)
CIE-LABlab(47.24, -42.25, 38.70)
CIE-LCHlch(47.24, 57.30, 137.51°)
OKLaboklab(53.11% -0.1151 0.0894)
OKLCHoklch(53.11% 0.146 142.2)
XYZxyz(9.2912, 16.2019, 4.7350)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8029 #7A2980
analogous
#5A8029 #2F8029 #29804E
triadic
#2F8029 #292F80 #80292F
tetradic
#2F8029 #295A80 #7A2980 #804E29
square
#2F8029 #295A80 #7A2980 #804E29
split-complementary
#2F8029 #4E2980 #80295A
monochromatic
#0D230B #1E521A #2F8029 #40AE38 #61CA59

Accessibility & contrast

On white

4.95
#2F8029 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2F8029 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8029
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8029#FFFFFF#000000##FFFFFF
##2F80291.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741E
Deuteranopia (green-blind)
#796D31
Tritanopia (blue-blind)
#217C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8029;
/* rgb */ color: rgb(47, 128, 41);
/* oklch */ color: oklch(53.1% 0.146 142.2);
Tailwind
colors: {
  custom: {
    50: '#72a667',
    500: '#2f8029',
    950: '#000000',
  },
}
SCSS
$custom: #2f8029;
$custom-light: #72a667;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8029",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 41
  },
  "hsl": {
    "h": 115.862,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.14574,
    "h": 142.2
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

primary
#2F8029
secondary
#A955AF
accent
#4DDBD1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2F8029

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

Preview Lab → · Contrast checker → · Palette generator →

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