#2B804C#2B804C

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

Color values

HEX#2B804C
RGBrgb(43, 128, 76)
HSLhsl(143, 50%, 34%)
HSVhsv(143, 66%, 50%)
CMYKcmyk(66.4%, 0%, 40.6%, 49.8%)
CIE-LABlab(47.59, -37.90, 20.97)
CIE-LCHlch(47.59, 43.31, 151.04°)
OKLaboklab(53.52% -0.1024 0.0522)
OKLCHoklch(53.52% 0.115 153)
XYZxyz(10.0191, 16.4727, 9.4876)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B804C #802B5F
analogous
#34802B #2B804C #2B8076
triadic
#2B804C #4C2B80 #804C2B
tetradic
#2B804C #2B3480 #802B5F #80762B
square
#2B804C #2B3480 #802B5F #80762B
split-complementary
#2B804C #762B80 #802B34
monochromatic
#0C2416 #1C5231 #2B804C #3AAE67 #5DC987

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B804C#FFFFFF#000000##FFFFFF
##2B804C1.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)
#807648
Deuteranopia (green-blind)
#756E4F
Tritanopia (blue-blind)
#037E73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b804c;
/* rgb */ color: rgb(43, 128, 76);
/* oklch */ color: oklch(53.5% 0.115 153.0);
Tailwind
colors: {
  custom: {
    50: '#6fa67e',
    500: '#2b804c',
    950: '#000000',
  },
}
SCSS
$custom: #2b804c;
$custom-light: #6fa67e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b804c",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 76
  },
  "hsl": {
    "h": 143.294,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5352,
    "c": 0.11499,
    "h": 153
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

primary
#2B804C
secondary
#AE588D
accent
#4FA3D9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2B804C

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

Preview Lab → · Contrast checker → · Palette generator →

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