#2D702D#2D702D

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

Color values

HEX#2D702D
RGBrgb(45, 112, 45)
HSLhsl(120, 43%, 31%)
HSVhsv(120, 60%, 44%)
CMYKcmyk(59.8%, 0%, 59.8%, 56.1%)
CIE-LABlab(41.74, -35.88, 30.53)
CIE-LCHlch(41.74, 47.11, 139.60°)
OKLaboklab(48.57% -0.0975 0.0724)
OKLCHoklch(48.57% 0.121 143.4)
XYZxyz(7.3496, 12.3350, 4.4757)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D702D #702D70
analogous
#4E702D #2D702D #2D704E
triadic
#2D702D #2D2D70 #702D2D
tetradic
#2D702D #2D4E70 #702D70 #704E2D
square
#2D702D #2D4E70 #702D70 #704E2D
split-complementary
#2D702D #4E2D70 #702D4E
monochromatic
#0A190A #1B441B #2D702D #3F9C3F #5ABD5A

Accessibility & contrast

On white

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

On black

3.47
#2D702D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D702D#FFFFFF#000000##FFFFFF
##2D702D1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d702d;
/* rgb */ color: rgb(45, 112, 45);
/* oklch */ color: oklch(48.6% 0.121 143.4);
Tailwind
colors: {
  custom: {
    50: '#6d9a68',
    500: '#2d702d',
    950: '#000000',
  },
}
SCSS
$custom: #2d702d;
$custom-light: #6d9a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2d702d",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48574,
    "c": 0.12141,
    "h": 143.4
  },
  "luminance": 0.12336
}

Semantic roles & 50–950 ramp

primary
#2D702D
secondary
#A257A2
accent
#55D2D2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D702D

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

Preview Lab → · Contrast checker → · Palette generator →

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