#2B7540#2B7540

#2B7540 is a mid, moderate green. Relative luminance 0.136; OKLCH L 50.2% C 0.111 H 149.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2B7540
RGBrgb(43, 117, 64)
HSLhsl(137, 46%, 31%)
HSVhsv(137, 63%, 46%)
CMYKcmyk(63.2%, 0%, 45.3%, 54.1%)
CIE-LABlab(43.66, -35.49, 22.60)
CIE-LCHlch(43.66, 42.07, 147.52°)
OKLaboklab(50.22% -0.0959 0.0557)
OKLCHoklch(50.22% 0.111 149.9)
XYZxyz(8.2824, 13.6055, 7.0392)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7540 #752B60
analogous
#3B752B #2B7540 #2B7565
triadic
#2B7540 #402B75 #75402B
tetradic
#2B7540 #2B3B75 #752B60 #75652B
square
#2B7540 #2B3B75 #752B60 #75652B
split-complementary
#2B7540 #652B75 #752B3B
monochromatic
#0A1B0F #1B4828 #2B7540 #3BA258 #59C276

Accessibility & contrast

On white

5.64
#2B7540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2B7540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7540
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7540#FFFFFF#000000##FFFFFF
##2B75401.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766B3C
Deuteranopia (green-blind)
#6C6544
Tritanopia (blue-blind)
#157368
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b7540;
/* rgb */ color: rgb(43, 117, 64);
/* oklch */ color: oklch(50.2% 0.111 149.9);
Tailwind
colors: {
  custom: {
    50: '#6d9d75',
    500: '#2b7540',
    950: '#000000',
  },
}
SCSS
$custom: #2b7540;
$custom-light: #6d9d75;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7540",
  "rgb": {
    "r": 43,
    "g": 117,
    "b": 64
  },
  "hsl": {
    "h": 137.027,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50223,
    "c": 0.11091,
    "h": 149.9
  },
  "luminance": 0.13606
}

Semantic roles & 50–950 ramp

primary
#2B7540
secondary
#A75590
accent
#52B0D6
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2B7540

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

Preview Lab → · Contrast checker → · Palette generator →

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