#2A804E#2A804E

#2A804E is a mid, moderate green. Relative luminance 0.165; OKLCH L 53.5% C 0.113 H 154.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2A804E
RGBrgb(42, 128, 78)
HSLhsl(145, 51%, 33%)
HSVhsv(145, 67%, 50%)
CMYKcmyk(67.2%, 0%, 39.1%, 49.8%)
CIE-LABlab(47.60, -37.71, 19.85)
CIE-LCHlch(47.60, 42.61, 152.24°)
OKLaboklab(53.53% -0.102 0.0496)
OKLCHoklch(53.53% 0.113 154.1)
XYZxyz(10.0483, 16.4796, 9.8576)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A804E #802A5C
analogous
#31802A #2A804E #2A8079
triadic
#2A804E #4E2A80 #804E2A
tetradic
#2A804E #2A3180 #802A5C #80792A
square
#2A804E #2A3180 #802A5C #80792A
split-complementary
#2A804E #792A80 #802A31
monochromatic
#0C2416 #1B5232 #2A804E #39AE6A #5BC989

Accessibility & contrast

On white

4.89
#2A804E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2A804E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A804E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A804E#FFFFFF#000000##FFFFFF
##2A804E1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764B
Deuteranopia (green-blind)
#756E51
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a804e;
/* rgb */ color: rgb(42, 128, 78);
/* oklch */ color: oklch(53.5% 0.113 154.1);
Tailwind
colors: {
  custom: {
    50: '#6ea680',
    500: '#2a804e',
    950: '#000000',
  },
}
SCSS
$custom: #2a804e;
$custom-light: #6ea680;
$custom-dark: #000000;
JSON
{
  "hex": "#2a804e",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 78
  },
  "hsl": {
    "h": 145.116,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53531,
    "c": 0.11343,
    "h": 154.1
  },
  "luminance": 0.16481
}

Semantic roles & 50–950 ramp

primary
#2A804E
secondary
#AF578A
accent
#4E9FDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2A804E

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

Preview Lab → · Contrast checker → · Palette generator →

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