#2B804B#2B804B

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

Color values

HEX#2B804B
RGBrgb(43, 128, 75)
HSLhsl(143, 50%, 34%)
HSVhsv(143, 66%, 50%)
CMYKcmyk(66.4%, 0%, 41.4%, 49.8%)
CIE-LABlab(47.57, -38.09, 21.51)
CIE-LCHlch(47.57, 43.74, 150.55°)
OKLaboklab(53.5% -0.1029 0.0535)
OKLCHoklch(53.5% 0.116 152.5)
XYZxyz(9.9846, 16.4589, 9.3059)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B804B #802B60
analogous
#35802B #2B804B #2B8075
triadic
#2B804B #4B2B80 #804B2B
tetradic
#2B804B #2B3580 #802B60 #80752B
square
#2B804B #2B3580 #802B60 #80752B
split-complementary
#2B804B #752B80 #802B35
monochromatic
#0C2415 #1C5230 #2B804B #3AAE66 #5DC985

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B804B#FFFFFF#000000##FFFFFF
##2B804B1.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)
#807547
Deuteranopia (green-blind)
#756E4E
Tritanopia (blue-blind)
#047E73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b804b;
/* rgb */ color: rgb(43, 128, 75);
/* oklch */ color: oklch(53.5% 0.116 152.5);
Tailwind
colors: {
  custom: {
    50: '#6fa67e',
    500: '#2b804b',
    950: '#000000',
  },
}
SCSS
$custom: #2b804b;
$custom-light: #6fa67e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b804b",
  "rgb": {
    "r": 43,
    "g": 128,
    "b": 75
  },
  "hsl": {
    "h": 142.588,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53499,
    "c": 0.11599,
    "h": 152.5
  },
  "luminance": 0.1646
}

Semantic roles & 50–950 ramp

primary
#2B804B
secondary
#AE588E
accent
#4FA5D9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2B804B

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

Preview Lab → · Contrast checker → · Palette generator →

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