#2B804E#2B804E

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

Color values

HEX#2B804E
RGBrgb(43, 128, 78)
HSLhsl(145, 50%, 34%)
HSVhsv(145, 66%, 50%)
CMYKcmyk(66.4%, 0%, 39.1%, 49.8%)
CIE-LABlab(47.62, -37.50, 19.89)
CIE-LCHlch(47.62, 42.45, 152.06°)
OKLaboklab(53.56% -0.1015 0.0497)
OKLCHoklch(53.56% 0.113 153.9)
XYZxyz(10.0897, 16.5009, 9.8595)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B804E #802B5D
analogous
#32802B #2B804E #2B8078
triadic
#2B804E #4E2B80 #804E2B
tetradic
#2B804E #2B3280 #802B5D #80782B
square
#2B804E #2B3280 #802B5D #80782B
split-complementary
#2B804E #782B80 #802B32
monochromatic
#0C2416 #1C5232 #2B804E #3AAE6A #5DC989

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B804E#FFFFFF#000000##FFFFFF
##2B804E1.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)
#80764B
Deuteranopia (green-blind)
#756E51
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b804e;
/* rgb */ color: rgb(43, 128, 78);
/* oklch */ color: oklch(53.6% 0.113 153.9);
Tailwind
colors: {
  custom: {
    50: '#6fa580',
    500: '#2b804e',
    950: '#000000',
  },
}
SCSS
$custom: #2b804e;
$custom-light: #6fa580;
$custom-dark: #000000;
JSON
{
  "hex": "#2b804e",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 78
  },
  "hsl": {
    "h": 144.706,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53561,
    "c": 0.11299,
    "h": 153.9
  },
  "luminance": 0.16502
}

Semantic roles & 50–950 ramp

primary
#2B804E
secondary
#AE588B
accent
#4FA0D9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2B804E

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

Preview Lab → · Contrast checker → · Palette generator →

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