#2A781D#2A781D

#2A781D is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.146 H 141.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2A781D
RGBrgb(42, 120, 29)
HSLhsl(111, 61%, 29%)
HSVhsv(111, 76%, 47%)
CMYKcmyk(65%, 0%, 75.8%, 52.9%)
CIE-LABlab(44.25, -41.57, 40.59)
CIE-LCHlch(44.25, 58.10, 135.68°)
OKLaboklab(50.57% -0.1136 0.0918)
OKLCHoklch(50.57% 0.146 141.1)
XYZxyz(7.8927, 14.0131, 3.4510)
Luminance0.1401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A781D #6B1D78
analogous
#58781D #2A781D #1D783E
triadic
#2A781D #1D2A78 #781D2A
tetradic
#2A781D #1D5878 #6B1D78 #783E1D
square
#2A781D #1D5878 #6B1D78 #783E1D
split-complementary
#2A781D #3E1D78 #781D58
monochromatic
#091906 #194711 #2A781D #3BA929 #54D13F

Accessibility & contrast

On white

5.52
#2A781D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2A781D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A781D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A781D#FFFFFF#000000##FFFFFF
##2A781D1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D0C
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#1D7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a781d;
/* rgb */ color: rgb(42, 120, 29);
/* oklch */ color: oklch(50.6% 0.146 141.1);
Tailwind
colors: {
  custom: {
    50: '#6ea05f',
    500: '#2a781d',
    950: '#000000',
  },
}
SCSS
$custom: #2a781d;
$custom-light: #6ea05f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a781d",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 111.429,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50569,
    "c": 0.1461,
    "h": 141.1
  },
  "luminance": 0.14014
}

Semantic roles & 50–950 ramp

primary
#2A781D
secondary
#9D45AC
accent
#44E4CD
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2A781D

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

Preview Lab → · Contrast checker → · Palette generator →

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