#2D702E#2D702E

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

Color values

HEX#2D702E
RGBrgb(45, 112, 46)
HSLhsl(121, 43%, 31%)
HSVhsv(121, 60%, 44%)
CMYKcmyk(59.8%, 0%, 58.9%, 56.1%)
CIE-LABlab(41.76, -35.74, 30.03)
CIE-LCHlch(41.76, 46.69, 139.96°)
OKLaboklab(48.59% -0.0971 0.0713)
OKLCHoklch(48.59% 0.12 143.7)
XYZxyz(7.3691, 12.3428, 4.5783)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D702E #702D6F
analogous
#4D702D #2D702E #2D704F
triadic
#2D702E #2E2D70 #702E2D
tetradic
#2D702E #2D4D70 #702D6F #704F2D
square
#2D702E #2D4D70 #702D6F #704F2D
split-complementary
#2D702E #4F2D70 #702D4D
monochromatic
#0A190A #1B441C #2D702E #3F9C40 #5ABD5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D702E#FFFFFF#000000##FFFFFF
##2D702E1.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)
#726628
Deuteranopia (green-blind)
#6A6033
Tritanopia (blue-blind)
#226D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d702e;
/* rgb */ color: rgb(45, 112, 46);
/* oklch */ color: oklch(48.6% 0.120 143.7);
Tailwind
colors: {
  custom: {
    50: '#6d9a69',
    500: '#2d702e',
    950: '#000000',
  },
}
SCSS
$custom: #2d702e;
$custom-light: #6d9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2d702e",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 120.896,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48588,
    "c": 0.12048,
    "h": 143.7
  },
  "luminance": 0.12343
}

Semantic roles & 50–950 ramp

primary
#2D702E
secondary
#A257A0
accent
#55D1D2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2D702E

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

Preview Lab → · Contrast checker → · Palette generator →

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