#2D762A#2D762A

#2D762A is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.132 H 142.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2D762A
RGBrgb(45, 118, 42)
HSLhsl(118, 48%, 31%)
HSVhsv(118, 64%, 46%)
CMYKcmyk(61.9%, 0%, 64.4%, 53.7%)
CIE-LABlab(43.77, -38.72, 34.37)
CIE-LCHlch(43.77, 51.77, 138.40°)
OKLaboklab(50.24% -0.1053 0.0803)
OKLCHoklch(50.24% 0.132 142.7)
XYZxyz(7.9781, 13.6812, 4.4103)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D762A #732A76
analogous
#53762A #2D762A #2A764D
triadic
#2D762A #2A2D76 #762A2D
tetradic
#2D762A #2A5376 #732A76 #764D2A
square
#2D762A #2A5376 #732A76 #764D2A
split-complementary
#2D762A #4D2A76 #762A53
monochromatic
#0B1C0A #1C491A #2D762A #3EA33A #5BC357

Accessibility & contrast

On white

5.62
#2D762A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2D762A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D762A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D762A#FFFFFF#000000##FFFFFF
##2D762A1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B21
Deuteranopia (green-blind)
#6F6530
Tritanopia (blue-blind)
#217366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d762a;
/* rgb */ color: rgb(45, 118, 42);
/* oklch */ color: oklch(50.2% 0.132 142.7);
Tailwind
colors: {
  custom: {
    50: '#6f9e67',
    500: '#2d762a',
    950: '#000000',
  },
}
SCSS
$custom: #2d762a;
$custom-light: #6f9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d762a",
  "rgb": {
    "r": 45,
    "g": 118,
    "b": 42
  },
  "hsl": {
    "h": 117.632,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50236,
    "c": 0.13248,
    "h": 142.7
  },
  "luminance": 0.13682
}

Semantic roles & 50–950 ramp

primary
#2D762A
secondary
#A454A8
accent
#51D7D2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D762A

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

Preview Lab → · Contrast checker → · Palette generator →

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