#2A804B#2A804B

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

Color values

HEX#2A804B
RGBrgb(42, 128, 75)
HSLhsl(143, 51%, 33%)
HSVhsv(143, 67%, 50%)
CMYKcmyk(67.2%, 0%, 41.4%, 49.8%)
CIE-LABlab(47.54, -38.30, 21.47)
CIE-LCHlch(47.54, 43.90, 150.73°)
OKLaboklab(53.47% -0.1035 0.0534)
OKLCHoklch(53.47% 0.116 152.7)
XYZxyz(9.9432, 16.4375, 9.3040)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A804B #802A5F
analogous
#34802A #2A804B #2A8076
triadic
#2A804B #4B2A80 #804B2A
tetradic
#2A804B #2A3480 #802A5F #80762A
square
#2A804B #2A3480 #802A5F #80762A
split-complementary
#2A804B #762A80 #802A34
monochromatic
#0C2415 #1B5230 #2A804B #39AE66 #5BC985

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A804B#FFFFFF#000000##FFFFFF
##2A804B1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a804b;
/* rgb */ color: rgb(42, 128, 75);
/* oklch */ color: oklch(53.5% 0.116 152.7);
Tailwind
colors: {
  custom: {
    50: '#6ea67e',
    500: '#2a804b',
    950: '#000000',
  },
}
SCSS
$custom: #2a804b;
$custom-light: #6ea67e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a804b",
  "rgb": {
    "r": 42,
    "g": 128,
    "b": 75
  },
  "hsl": {
    "h": 143.023,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53469,
    "c": 0.11643,
    "h": 152.7
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#2A804B
secondary
#AF578D
accent
#4EA4DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2A804B

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

Preview Lab → · Contrast checker → · Palette generator →

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