#2A804D#2A804D

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

Color values

HEX#2A804D
RGBrgb(42, 128, 77)
HSLhsl(144, 51%, 33%)
HSVhsv(144, 67%, 50%)
CMYKcmyk(67.2%, 0%, 39.8%, 49.8%)
CIE-LABlab(47.58, -37.91, 20.39)
CIE-LCHlch(47.58, 43.04, 151.73°)
OKLaboklab(53.51% -0.1025 0.0509)
OKLCHoklch(53.51% 0.114 153.6)
XYZxyz(10.0127, 16.4654, 9.6702)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A804D #802A5D
analogous
#32802A #2A804D #2A8078
triadic
#2A804D #4D2A80 #804D2A
tetradic
#2A804D #2A3280 #802A5D #80782A
square
#2A804D #2A3280 #802A5D #80782A
split-complementary
#2A804D #782A80 #802A32
monochromatic
#0C2416 #1B5231 #2A804D #39AE69 #5BC988

Accessibility & contrast

On white

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

On black

4.29
#2A804D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A804D#FFFFFF#000000##FFFFFF
##2A804D1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a804d;
/* rgb */ color: rgb(42, 128, 77);
/* oklch */ color: oklch(53.5% 0.114 153.6);
Tailwind
colors: {
  custom: {
    50: '#6ea67f',
    500: '#2a804d',
    950: '#000000',
  },
}
SCSS
$custom: #2a804d;
$custom-light: #6ea67f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a804d",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 77
  },
  "hsl": {
    "h": 144.419,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.11443,
    "h": 153.6
  },
  "luminance": 0.16466
}

Semantic roles & 50–950 ramp

primary
#2A804D
secondary
#AF578B
accent
#4EA1DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2A804D

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

Preview Lab → · Contrast checker → · Palette generator →

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