#2D702C#2D702C

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

Color values

HEX#2D702C
RGBrgb(45, 112, 44)
HSLhsl(119, 44%, 31%)
HSVhsv(119, 61%, 44%)
CMYKcmyk(59.8%, 0%, 60.7%, 56.1%)
CIE-LABlab(41.73, -36.01, 31.03)
CIE-LCHlch(41.73, 47.54, 139.25°)
OKLaboklab(48.56% -0.0979 0.0733)
OKLCHoklch(48.56% 0.122 143.2)
XYZxyz(7.3306, 12.3274, 4.3755)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D702C #6F2C70
analogous
#4F702C #2D702C #2C704D
triadic
#2D702C #2C2D70 #702C2D
tetradic
#2D702C #2C4F70 #6F2C70 #704D2C
square
#2D702C #2C4F70 #6F2C70 #704D2C
split-complementary
#2D702C #4D2C70 #702C4F
monochromatic
#0A1809 #1B441B #2D702C #3F9C3D #5ABE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D702C#FFFFFF#000000##FFFFFF
##2D702C1.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)
#726625
Deuteranopia (green-blind)
#6A6031
Tritanopia (blue-blind)
#226D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d702c;
/* rgb */ color: rgb(45, 112, 44);
/* oklch */ color: oklch(48.6% 0.122 143.2);
Tailwind
colors: {
  custom: {
    50: '#6d9a67',
    500: '#2d702c',
    950: '#000000',
  },
}
SCSS
$custom: #2d702c;
$custom-light: #6d9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d702c",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 119.118,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.12233,
    "h": 143.2
  },
  "luminance": 0.12328
}

Semantic roles & 50–950 ramp

primary
#2D702C
secondary
#A156A2
accent
#54D3D1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D702C

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

Preview Lab → · Contrast checker → · Palette generator →

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