#2A804F#2A804F

#2A804F is a mid, moderate green. Relative luminance 0.165; OKLCH L 53.6% C 0.112 H 154.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2A804F
RGBrgb(42, 128, 79)
HSLhsl(146, 51%, 33%)
HSVhsv(146, 67%, 50%)
CMYKcmyk(67.2%, 0%, 38.3%, 49.8%)
CIE-LABlab(47.62, -37.50, 19.30)
CIE-LCHlch(47.62, 42.18, 152.76°)
OKLaboklab(53.55% -0.1015 0.0483)
OKLCHoklch(53.55% 0.112 154.5)
XYZxyz(10.0844, 16.4940, 10.0478)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A804F #802A5B
analogous
#30802A #2A804F #2A807A
triadic
#2A804F #4F2A80 #804F2A
tetradic
#2A804F #2A3080 #802A5B #807A2A
square
#2A804F #2A3080 #802A5B #807A2A
split-complementary
#2A804F #7A2A80 #802A30
monochromatic
#0C2416 #1B5233 #2A804F #39AE6B #5BC98B

Accessibility & contrast

On white

4.88
#2A804F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A804F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A804F#FFFFFF#000000##FFFFFF
##2A804F1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764C
Deuteranopia (green-blind)
#756E52
Tritanopia (blue-blind)
#007F74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a804f;
/* rgb */ color: rgb(42, 128, 79);
/* oklch */ color: oklch(53.6% 0.112 154.5);
Tailwind
colors: {
  custom: {
    50: '#6ea580',
    500: '#2a804f',
    950: '#000000',
  },
}
SCSS
$custom: #2a804f;
$custom-light: #6ea580;
$custom-dark: #000000;
JSON
{
  "hex": "#2a804f",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 79
  },
  "hsl": {
    "h": 145.814,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53552,
    "c": 0.11243,
    "h": 154.5
  },
  "luminance": 0.16495
}

Semantic roles & 50–950 ramp

primary
#2A804F
secondary
#AF5789
accent
#4E9EDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2A804F

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

Preview Lab → · Contrast checker → · Palette generator →

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