#2B7D52#2B7D52

#2B7D52 is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.8% C 0.105 H 156.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2B7D52
RGBrgb(43, 125, 82)
HSLhsl(149, 49%, 33%)
HSVhsv(149, 66%, 49%)
CMYKcmyk(65.6%, 0%, 34.4%, 51%)
CIE-LABlab(46.70, -35.37, 16.36)
CIE-LCHlch(46.70, 38.97, 155.18°)
OKLaboklab(52.82% -0.0961 0.0413)
OKLCHoklch(52.82% 0.105 156.8)
XYZxyz(9.8520, 15.7890, 10.5094)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D52 #7D2B56
analogous
#2D7D2B #2B7D52 #2B7D7B
triadic
#2B7D52 #522B7D #7D522B
tetradic
#2B7D52 #2B2D7D #7D2B56 #7D7B2B
square
#2B7D52 #2B2D7D #7D2B56 #7D7B2B
split-complementary
#2B7D52 #7B2B7D #7D2B2D
monochromatic
#0C2216 #1B4F34 #2B7D52 #3BAB70 #5CC78F

Accessibility & contrast

On white

5.05
#2B7D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2B7D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D52
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D52#FFFFFF#000000##FFFFFF
##2B7D521.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734F
Deuteranopia (green-blind)
#716C55
Tritanopia (blue-blind)
#007C72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7d52;
/* rgb */ color: rgb(43, 125, 82);
/* oklch */ color: oklch(52.8% 0.105 156.8);
Tailwind
colors: {
  custom: {
    50: '#6ea383',
    500: '#2b7d52',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d52;
$custom-light: #6ea383;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d52",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 82
  },
  "hsl": {
    "h": 148.537,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52824,
    "c": 0.10461,
    "h": 156.8
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

primary
#2B7D52
secondary
#AD5784
accent
#4F97D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2B7D52

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

Preview Lab → · Contrast checker → · Palette generator →

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