#2A804A#2A804A

#2A804A is a mid, moderate green. Relative luminance 0.164; OKLCH L 53.4% C 0.117 H 152.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2A804A
RGBrgb(42, 128, 74)
HSLhsl(142, 51%, 33%)
HSVhsv(142, 67%, 50%)
CMYKcmyk(67.2%, 0%, 42.2%, 49.8%)
CIE-LABlab(47.53, -38.49, 22.00)
CIE-LCHlch(47.53, 44.34, 150.25°)
OKLaboklab(53.45% -0.104 0.0546)
OKLCHoklch(53.45% 0.117 152.3)
XYZxyz(9.9092, 16.4240, 9.1252)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A804A #802A60
analogous
#35802A #2A804A #2A8075
triadic
#2A804A #4A2A80 #804A2A
tetradic
#2A804A #2A3580 #802A60 #80752A
square
#2A804A #2A3580 #802A60 #80752A
split-complementary
#2A804A #752A80 #802A35
monochromatic
#0C2415 #1B522F #2A804A #39AE65 #5BC984

Accessibility & contrast

On white

4.90
#2A804A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2A804A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A804A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A804A#FFFFFF#000000##FFFFFF
##2A804A1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807546
Deuteranopia (green-blind)
#756E4E
Tritanopia (blue-blind)
#017E73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a804a;
/* rgb */ color: rgb(42, 128, 74);
/* oklch */ color: oklch(53.4% 0.117 152.3);
Tailwind
colors: {
  custom: {
    50: '#6ea67d',
    500: '#2a804a',
    950: '#000000',
  },
}
SCSS
$custom: #2a804a;
$custom-light: #6ea67d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a804a",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 74
  },
  "hsl": {
    "h": 142.326,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53449,
    "c": 0.11743,
    "h": 152.3
  },
  "luminance": 0.16425
}

Semantic roles & 50–950 ramp

primary
#2A804A
secondary
#AF578E
accent
#4EA6DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2A804A

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

Preview Lab → · Contrast checker → · Palette generator →

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