#2A783D#2A783D

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

Color values

HEX#2A783D
RGBrgb(42, 120, 61)
HSLhsl(135, 48%, 32%)
HSVhsv(135, 65%, 47%)
CMYKcmyk(65%, 0%, 49.2%, 52.9%)
CIE-LABlab(44.61, -37.52, 25.46)
CIE-LCHlch(44.61, 45.34, 145.84°)
OKLaboklab(50.98% -0.1013 0.0621)
OKLCHoklch(50.98% 0.119 148.5)
XYZxyz(8.5130, 14.2613, 6.7180)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A783D #782A65
analogous
#3E782A #2A783D #2A7864
triadic
#2A783D #3D2A78 #783D2A
tetradic
#2A783D #2A3E78 #782A65 #78642A
square
#2A783D #2A3E78 #782A65 #78642A
split-complementary
#2A783D #642A78 #782A3E
monochromatic
#0A1D0F #1A4B26 #2A783D #3AA554 #58C572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A783D#FFFFFF#000000##FFFFFF
##2A783D1.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)
#796E38
Deuteranopia (green-blind)
#6F6741
Tritanopia (blue-blind)
#13766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a783d;
/* rgb */ color: rgb(42, 120, 61);
/* oklch */ color: oklch(51.0% 0.119 148.5);
Tailwind
colors: {
  custom: {
    50: '#6da073',
    500: '#2a783d',
    950: '#000000',
  },
}
SCSS
$custom: #2a783d;
$custom-light: #6da073;
$custom-dark: #000000;
JSON
{
  "hex": "#2a783d",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 61
  },
  "hsl": {
    "h": 134.615,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50975,
    "c": 0.11884,
    "h": 148.5
  },
  "luminance": 0.14262
}

Semantic roles & 50–950 ramp

primary
#2A783D
secondary
#AA5495
accent
#50B7D8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2A783D

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

Preview Lab → · Contrast checker → · Palette generator →

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