#2B7C52#2B7C52

#2B7C52 is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.5% C 0.103 H 157.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2B7C52
RGBrgb(43, 124, 82)
HSLhsl(149, 49%, 33%)
HSVhsv(149, 65%, 49%)
CMYKcmyk(65.3%, 0%, 33.9%, 51.4%)
CIE-LABlab(46.36, -34.93, 15.90)
CIE-LCHlch(46.36, 38.38, 155.53°)
OKLaboklab(52.55% -0.095 0.0402)
OKLCHoklch(52.55% 0.103 157.1)
XYZxyz(9.7260, 15.5371, 10.4674)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7C52 #7C2B55
analogous
#2C7C2B #2B7C52 #2B7C7A
triadic
#2B7C52 #522B7C #7C522B
tetradic
#2B7C52 #2B2C7C #7C2B55 #7C7A2B
square
#2B7C52 #2B2C7C #7C2B55 #7C7A2B
split-complementary
#2B7C52 #7A2B7C #7C2B2C
monochromatic
#0B2116 #1B4F34 #2B7C52 #3BA970 #5BC68F

Accessibility & contrast

On white

5.11
#2B7C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2B7C52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7C52
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7C52#FFFFFF#000000##FFFFFF
##2B7C521.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724F
Deuteranopia (green-blind)
#706B55
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7c52;
/* rgb */ color: rgb(43, 124, 82);
/* oklch */ color: oklch(52.5% 0.103 157.1);
Tailwind
colors: {
  custom: {
    50: '#6ea283',
    500: '#2b7c52',
    950: '#000000',
  },
}
SCSS
$custom: #2b7c52;
$custom-light: #6ea283;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7c52",
  "rgb": {
    "r": 43,
    "g": 124,
    "b": 82
  },
  "hsl": {
    "h": 148.889,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52549,
    "c": 0.10313,
    "h": 157.1
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#2B7C52
secondary
#AC5783
accent
#5096D8
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2B7C52

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

Preview Lab → · Contrast checker → · Palette generator →

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