#2B7045#2B7045

#2B7045 is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.9% C 0.098 H 153.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2B7045
RGBrgb(43, 112, 69)
HSLhsl(143, 45%, 30%)
HSVhsv(143, 62%, 44%)
CMYKcmyk(61.6%, 0%, 38.4%, 56.1%)
CIE-LABlab(42.05, -32.33, 17.62)
CIE-LCHlch(42.05, 36.82, 151.42°)
OKLaboklab(48.93% -0.0877 0.0441)
OKLCHoklch(48.93% 0.098 153.3)
XYZxyz(7.8640, 12.5309, 7.6333)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7045 #702B56
analogous
#33702B #2B7045 #2B7067
triadic
#2B7045 #452B70 #70452B
tetradic
#2B7045 #2B3370 #702B56 #70672B
square
#2B7045 #2B3370 #702B56 #70672B
split-complementary
#2B7045 #672B70 #702B33
monochromatic
#09180F #1A442A #2B7045 #3C9C60 #57BE7E

Accessibility & contrast

On white

5.99
#2B7045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2B7045 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7045
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7045#FFFFFF#000000##FFFFFF
##2B70451.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706742
Deuteranopia (green-blind)
#676148
Tritanopia (blue-blind)
#156F65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b7045;
/* rgb */ color: rgb(43, 112, 69);
/* oklch */ color: oklch(48.9% 0.098 153.3);
Tailwind
colors: {
  custom: {
    50: '#6c9a79',
    500: '#2b7045',
    950: '#000000',
  },
}
SCSS
$custom: #2b7045;
$custom-light: #6c9a79;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7045",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 69
  },
  "hsl": {
    "h": 142.609,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48926,
    "c": 0.09813,
    "h": 153.3
  },
  "luminance": 0.12532
}

Semantic roles & 50–950 ramp

primary
#2B7045
secondary
#A25585
accent
#54A4D4
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2B7045

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

Preview Lab → · Contrast checker → · Palette generator →

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