#2D752A#2D752A

#2D752A is a mid, vivid green. Relative luminance 0.134; OKLCH L 50.0% C 0.131 H 142.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2D752A
RGBrgb(45, 117, 42)
HSLhsl(118, 47%, 31%)
HSVhsv(118, 64%, 46%)
CMYKcmyk(61.5%, 0%, 64.1%, 54.1%)
CIE-LABlab(43.43, -38.31, 33.98)
CIE-LCHlch(43.43, 51.21, 138.43°)
OKLaboklab(49.95% -0.1042 0.0795)
OKLCHoklch(49.95% 0.131 142.7)
XYZxyz(7.8610, 13.4469, 4.3713)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D752A #722A75
analogous
#52752A #2D752A #2A754C
triadic
#2D752A #2A2D75 #752A2D
tetradic
#2D752A #2A5275 #722A75 #754C2A
square
#2D752A #2A5275 #722A75 #754C2A
split-complementary
#2D752A #4C2A75 #752A52
monochromatic
#0A1B0A #1C481A #2D752A #3EA23A #5BC357

Accessibility & contrast

On white

5.69
#2D752A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2D752A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D752A
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D752A#FFFFFF#000000##FFFFFF
##2D752A1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A22
Deuteranopia (green-blind)
#6F6430
Tritanopia (blue-blind)
#217265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d752a;
/* rgb */ color: rgb(45, 117, 42);
/* oklch */ color: oklch(50.0% 0.131 142.7);
Tailwind
colors: {
  custom: {
    50: '#6f9d67',
    500: '#2d752a',
    950: '#000000',
  },
}
SCSS
$custom: #2d752a;
$custom-light: #6f9d67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d752a",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 42
  },
  "hsl": {
    "h": 117.6,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49953,
    "c": 0.1311,
    "h": 142.7
  },
  "luminance": 0.13448
}

Semantic roles & 50–950 ramp

primary
#2D752A
secondary
#A354A7
accent
#51D7D1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D752A

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

Preview Lab → · Contrast checker → · Palette generator →

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