#2D702A#2D702A

#2D702A is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.124 H 142.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2D702A
RGBrgb(45, 112, 42)
HSLhsl(117, 45%, 30%)
HSVhsv(117, 63%, 44%)
CMYKcmyk(59.8%, 0%, 62.5%, 56.1%)
CIE-LABlab(41.71, -36.27, 32.02)
CIE-LCHlch(41.71, 48.38, 138.56°)
OKLaboklab(48.53% -0.0987 0.0753)
OKLCHoklch(48.53% 0.124 142.7)
XYZxyz(7.2939, 12.3128, 4.1823)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D702A #6D2A70
analogous
#50702A #2D702A #2A704A
triadic
#2D702A #2A2D70 #702A2D
tetradic
#2D702A #2A5070 #6D2A70 #704A2A
square
#2D702A #2A5070 #6D2A70 #704A2A
split-complementary
#2D702A #4A2A70 #702A50
monochromatic
#091709 #1B4319 #2D702A #3F9D3B #5ABF55

Accessibility & contrast

On white

6.06
#2D702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2D702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D702A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D702A#FFFFFF#000000##FFFFFF
##2D702A1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726623
Deuteranopia (green-blind)
#6A6030
Tritanopia (blue-blind)
#226D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d702a;
/* rgb */ color: rgb(45, 112, 42);
/* oklch */ color: oklch(48.5% 0.124 142.7);
Tailwind
colors: {
  custom: {
    50: '#6e9a66',
    500: '#2d702a',
    950: '#000000',
  },
}
SCSS
$custom: #2d702a;
$custom-light: #6e9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2d702a",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 117.429,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48534,
    "c": 0.12414,
    "h": 142.7
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#2D702A
secondary
#9F54A2
accent
#53D5D0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D702A

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

Preview Lab → · Contrast checker → · Palette generator →

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