#2B804F#2B804F

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

Color values

HEX#2B804F
RGBrgb(43, 128, 79)
HSLhsl(145, 50%, 34%)
HSVhsv(145, 66%, 50%)
CMYKcmyk(66.4%, 0%, 38.3%, 49.8%)
CIE-LABlab(47.64, -37.30, 19.35)
CIE-LCHlch(47.64, 42.02, 152.59°)
OKLaboklab(53.58% -0.101 0.0484)
OKLCHoklch(53.58% 0.112 154.4)
XYZxyz(10.1258, 16.5154, 10.0498)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B804F #802B5C
analogous
#31802B #2B804F #2B8079
triadic
#2B804F #4F2B80 #804F2B
tetradic
#2B804F #2B3180 #802B5C #80792B
square
#2B804F #2B3180 #802B5C #80792B
split-complementary
#2B804F #792B80 #802B31
monochromatic
#0C2416 #1C5233 #2B804F #3AAE6B #5DC98A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B804F#FFFFFF#000000##FFFFFF
##2B804F1.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)
#80764C
Deuteranopia (green-blind)
#756E52
Tritanopia (blue-blind)
#007F74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b804f;
/* rgb */ color: rgb(43, 128, 79);
/* oklch */ color: oklch(53.6% 0.112 154.4);
Tailwind
colors: {
  custom: {
    50: '#6fa580',
    500: '#2b804f',
    950: '#000000',
  },
}
SCSS
$custom: #2b804f;
$custom-light: #6fa580;
$custom-dark: #000000;
JSON
{
  "hex": "#2b804f",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 79
  },
  "hsl": {
    "h": 145.412,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.11198,
    "h": 154.4
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#2B804F
secondary
#AE588A
accent
#4F9FD9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2B804F

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

Preview Lab → · Contrast checker → · Palette generator →

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