#2A7D50#2A7D50

#2A7D50 is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.7% C 0.107 H 155.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2A7D50
RGBrgb(42, 125, 80)
HSLhsl(147, 50%, 33%)
HSVhsv(147, 66%, 49%)
CMYKcmyk(66.4%, 0%, 36%, 51%)
CIE-LABlab(46.63, -36.01, 17.41)
CIE-LCHlch(46.63, 39.99, 154.20°)
OKLaboklab(52.75% -0.0977 0.0438)
OKLCHoklch(52.75% 0.107 155.9)
XYZxyz(9.7356, 15.7376, 10.1125)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D50 #7D2A57
analogous
#2D7D2A #2A7D50 #2A7D7A
triadic
#2A7D50 #502A7D #7D502A
tetradic
#2A7D50 #2A2D7D #7D2A57 #7D7A2A
square
#2A7D50 #2A2D7D #7D2A57 #7D7A2A
split-complementary
#2A7D50 #7A2A7D #7D2A2D
monochromatic
#0B2115 #1B4F33 #2A7D50 #39AB6D #5AC88C

Accessibility & contrast

On white

5.06
#2A7D50 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2A7D50 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D50
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D50#FFFFFF#000000##FFFFFF
##2A7D501.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734D
Deuteranopia (green-blind)
#726B53
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7d50;
/* rgb */ color: rgb(42, 125, 80);
/* oklch */ color: oklch(52.7% 0.107 155.9);
Tailwind
colors: {
  custom: {
    50: '#6ea381',
    500: '#2a7d50',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d50;
$custom-light: #6ea381;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d50",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 80
  },
  "hsl": {
    "h": 147.47,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52747,
    "c": 0.10705,
    "h": 155.9
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#2A7D50
secondary
#AD5685
accent
#4F9AD9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2A7D50

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

Preview Lab → · Contrast checker → · Palette generator →

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