#2B804D#2B804D

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

Color values

HEX#2B804D
RGBrgb(43, 128, 77)
HSLhsl(144, 50%, 34%)
HSVhsv(144, 66%, 50%)
CMYKcmyk(66.4%, 0%, 39.8%, 49.8%)
CIE-LABlab(47.61, -37.70, 20.43)
CIE-LCHlch(47.61, 42.88, 151.55°)
OKLaboklab(53.54% -0.102 0.051)
OKLCHoklch(53.54% 0.114 153.4)
XYZxyz(10.0541, 16.4867, 9.6721)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B804D #802B5E
analogous
#33802B #2B804D #2B8077
triadic
#2B804D #4D2B80 #804D2B
tetradic
#2B804D #2B3380 #802B5E #80772B
square
#2B804D #2B3380 #802B5E #80772B
split-complementary
#2B804D #772B80 #802B33
monochromatic
#0C2416 #1C5231 #2B804D #3AAE69 #5DC988

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B804D#FFFFFF#000000##FFFFFF
##2B804D1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764A
Deuteranopia (green-blind)
#756E50
Tritanopia (blue-blind)
#027E73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b804d;
/* rgb */ color: rgb(43, 128, 77);
/* oklch */ color: oklch(53.5% 0.114 153.4);
Tailwind
colors: {
  custom: {
    50: '#6fa57f',
    500: '#2b804d',
    950: '#000000',
  },
}
SCSS
$custom: #2b804d;
$custom-light: #6fa57f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b804d",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 77
  },
  "hsl": {
    "h": 144,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5354,
    "c": 0.11399,
    "h": 153.4
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

primary
#2B804D
secondary
#AE588C
accent
#4FA2D9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2B804D

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

Preview Lab → · Contrast checker → · Palette generator →

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