#2B7A45#2B7A45

#2B7A45 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.7% C 0.113 H 151.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2B7A45
RGBrgb(43, 122, 69)
HSLhsl(140, 48%, 32%)
HSVhsv(140, 65%, 48%)
CMYKcmyk(64.8%, 0%, 43.4%, 52.2%)
CIE-LABlab(45.44, -36.70, 22.09)
CIE-LCHlch(45.44, 42.84, 148.95°)
OKLaboklab(51.72% -0.0992 0.0547)
OKLCHoklch(51.72% 0.113 151.1)
XYZxyz(9.0293, 14.8614, 8.0218)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7A45 #7A2B60
analogous
#387A2B #2B7A45 #2B7A6D
triadic
#2B7A45 #452B7A #7A452B
tetradic
#2B7A45 #2B387A #7A2B60 #7A6D2B
square
#2B7A45 #2B387A #7A2B60 #7A6D2B
split-complementary
#2B7A45 #6D2B7A #7A2B38
monochromatic
#0B1F12 #1B4D2B #2B7A45 #3BA75F #5AC57D

Accessibility & contrast

On white

5.29
#2B7A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2B7A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7A45
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7A45#FFFFFF#000000##FFFFFF
##2B7A451.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7041
Deuteranopia (green-blind)
#706949
Tritanopia (blue-blind)
#0F786D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b7a45;
/* rgb */ color: rgb(43, 122, 69);
/* oklch */ color: oklch(51.7% 0.113 151.1);
Tailwind
colors: {
  custom: {
    50: '#6ea179',
    500: '#2b7a45',
    950: '#000000',
  },
}
SCSS
$custom: #2b7a45;
$custom-light: #6ea179;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7a45",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 69
  },
  "hsl": {
    "h": 139.747,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51716,
    "c": 0.11324,
    "h": 151.1
  },
  "luminance": 0.14862
}

Semantic roles & 50–950 ramp

primary
#2B7A45
secondary
#AB568F
accent
#50ABD7
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2B7A45

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

Preview Lab → · Contrast checker → · Palette generator →

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