#2A782D#2A782D

#2A782D is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.134 H 143.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2A782D
RGBrgb(42, 120, 45)
HSLhsl(122, 48%, 32%)
HSVhsv(122, 65%, 47%)
CMYKcmyk(65%, 0%, 62.5%, 52.9%)
CIE-LABlab(44.40, -39.89, 33.59)
CIE-LCHlch(44.40, 52.15, 139.90°)
OKLaboklab(50.73% -0.1082 0.079)
OKLCHoklch(50.73% 0.134 143.9)
XYZxyz(8.1445, 14.1138, 4.7772)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A782D #782A75
analogous
#4E782A #2A782D #2A7854
triadic
#2A782D #2D2A78 #782D2A
tetradic
#2A782D #2A4E78 #782A75 #78542A
square
#2A782D #2A4E78 #782A75 #78542A
split-complementary
#2A782D #542A78 #782A4E
monochromatic
#0A1D0B #1A4B1C #2A782D #3AA53E #58C55C

Accessibility & contrast

On white

5.49
#2A782D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2A782D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A782D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A782D#FFFFFF#000000##FFFFFF
##2A782D1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D25
Deuteranopia (green-blind)
#716633
Tritanopia (blue-blind)
#197568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a782d;
/* rgb */ color: rgb(42, 120, 45);
/* oklch */ color: oklch(50.7% 0.134 143.9);
Tailwind
colors: {
  custom: {
    50: '#6ea069',
    500: '#2a782d',
    950: '#000000',
  },
}
SCSS
$custom: #2a782d;
$custom-light: #6ea069;
$custom-dark: #000000;
JSON
{
  "hex": "#2a782d",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 45
  },
  "hsl": {
    "h": 122.308,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50734,
    "c": 0.13396,
    "h": 143.9
  },
  "luminance": 0.14115
}

Semantic roles & 50–950 ramp

primary
#2A782D
secondary
#AA54A6
accent
#50D3D8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F06
muted
#7A7E7A

Preview Lab

Preview with #2A782D

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

Preview Lab → · Contrast checker → · Palette generator →

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