#2A783C#2A783C

#2A783C is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.0% C 0.120 H 148.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2A783C
RGBrgb(42, 120, 60)
HSLhsl(134, 48%, 32%)
HSVhsv(134, 65%, 47%)
CMYKcmyk(65%, 0%, 50%, 52.9%)
CIE-LABlab(44.59, -37.69, 25.99)
CIE-LCHlch(44.59, 45.78, 145.41°)
OKLaboklab(50.96% -0.1018 0.0633)
OKLCHoklch(50.96% 0.12 148.1)
XYZxyz(8.4863, 14.2506, 6.5775)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A783C #782A66
analogous
#3F782A #2A783C #2A7863
triadic
#2A783C #3C2A78 #783C2A
tetradic
#2A783C #2A3F78 #782A66 #78632A
square
#2A783C #2A3F78 #782A66 #78632A
split-complementary
#2A783C #632A78 #782A3F
monochromatic
#0A1D0F #1A4B25 #2A783C #3AA553 #58C571

Accessibility & contrast

On white

5.45
#2A783C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2A783C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A783C
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A783C#FFFFFF#000000##FFFFFF
##2A783C1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E37
Deuteranopia (green-blind)
#6F6740
Tritanopia (blue-blind)
#13766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a783c;
/* rgb */ color: rgb(42, 120, 60);
/* oklch */ color: oklch(51.0% 0.120 148.1);
Tailwind
colors: {
  custom: {
    50: '#6da073',
    500: '#2a783c',
    950: '#000000',
  },
}
SCSS
$custom: #2a783c;
$custom-light: #6da073;
$custom-dark: #000000;
JSON
{
  "hex": "#2a783c",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 60
  },
  "hsl": {
    "h": 133.846,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.11985,
    "h": 148.1
  },
  "luminance": 0.14251
}

Semantic roles & 50–950 ramp

primary
#2A783C
secondary
#AA5496
accent
#50B8D8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2A783C

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

Preview Lab → · Contrast checker → · Palette generator →

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