#2D702F#2D702F

#2D702F is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.6% C 0.120 H 144.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2D702F
RGBrgb(45, 112, 47)
HSLhsl(122, 43%, 31%)
HSVhsv(122, 60%, 44%)
CMYKcmyk(59.8%, 0%, 58%, 56.1%)
CIE-LABlab(41.77, -35.61, 29.53)
CIE-LCHlch(41.77, 46.26, 140.33°)
OKLaboklab(48.6% -0.0967 0.0703)
OKLCHoklch(48.6% 0.12 144)
XYZxyz(7.3890, 12.3508, 4.6833)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D702F #702D6E
analogous
#4C702D #2D702F #2D7050
triadic
#2D702F #2F2D70 #702F2D
tetradic
#2D702F #2D4C70 #702D6E #70502D
square
#2D702F #2D4C70 #702D6E #70502D
split-complementary
#2D702F #502D70 #702D4C
monochromatic
#0A190A #1B441D #2D702F #3F9C41 #5ABD5D

Accessibility & contrast

On white

6.05
#2D702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D702F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D702F#FFFFFF#000000##FFFFFF
##2D702F1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#216D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d702f;
/* rgb */ color: rgb(45, 112, 47);
/* oklch */ color: oklch(48.6% 0.120 144.0);
Tailwind
colors: {
  custom: {
    50: '#6d9a69',
    500: '#2d702f',
    950: '#000000',
  },
}
SCSS
$custom: #2d702f;
$custom-light: #6d9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2d702f",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 121.791,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48603,
    "c": 0.11954,
    "h": 144
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#2D702F
secondary
#A2579F
accent
#55CFD2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2D702F

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

Preview Lab → · Contrast checker → · Palette generator →

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