#2B804A#2B804A

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

Color values

HEX#2B804A
RGBrgb(43, 128, 74)
HSLhsl(142, 50%, 34%)
HSVhsv(142, 66%, 50%)
CMYKcmyk(66.4%, 0%, 42.2%, 49.8%)
CIE-LABlab(47.55, -38.28, 22.05)
CIE-LCHlch(47.55, 44.18, 150.06°)
OKLaboklab(53.48% -0.1034 0.0547)
OKLCHoklch(53.48% 0.117 152.1)
XYZxyz(9.9507, 16.4453, 9.1271)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B804A #802B61
analogous
#36802B #2B804A #2B8074
triadic
#2B804A #4A2B80 #804A2B
tetradic
#2B804A #2B3680 #802B61 #80742B
square
#2B804A #2B3680 #802B61 #80742B
split-complementary
#2B804A #742B80 #802B36
monochromatic
#0C2415 #1C5230 #2B804A #3AAE64 #5DC984

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B804A#FFFFFF#000000##FFFFFF
##2B804A1.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)
#807546
Deuteranopia (green-blind)
#756E4E
Tritanopia (blue-blind)
#057E73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b804a;
/* rgb */ color: rgb(43, 128, 74);
/* oklch */ color: oklch(53.5% 0.117 152.1);
Tailwind
colors: {
  custom: {
    50: '#6fa67d',
    500: '#2b804a',
    950: '#000000',
  },
}
SCSS
$custom: #2b804a;
$custom-light: #6fa67d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b804a",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 74
  },
  "hsl": {
    "h": 141.882,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53479,
    "c": 0.117,
    "h": 152.1
  },
  "luminance": 0.16446
}

Semantic roles & 50–950 ramp

primary
#2B804A
secondary
#AE588F
accent
#4FA7D9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2B804A

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

Preview Lab → · Contrast checker → · Palette generator →

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