#2A7D48#2A7D48

#2A7D48 is a mid, moderate green. Relative luminance 0.156; OKLCH L 52.6% C 0.115 H 152.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2A7D48
RGBrgb(42, 125, 72)
HSLhsl(142, 50%, 33%)
HSVhsv(142, 66%, 49%)
CMYKcmyk(66.4%, 0%, 42.4%, 51%)
CIE-LABlab(46.48, -37.62, 21.76)
CIE-LCHlch(46.48, 43.46, 149.96°)
OKLaboklab(52.58% -0.1016 0.054)
OKLCHoklch(52.58% 0.115 152)
XYZxyz(9.4574, 15.6264, 8.6474)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D48 #7D2A5F
analogous
#357D2A #2A7D48 #2A7D72
triadic
#2A7D48 #482A7D #7D482A
tetradic
#2A7D48 #2A357D #7D2A5F #7D722A
square
#2A7D48 #2A357D #7D2A5F #7D722A
split-complementary
#2A7D48 #722A7D #7D2A35
monochromatic
#0B2113 #1B4F2E #2A7D48 #39AB62 #5AC882

Accessibility & contrast

On white

5.09
#2A7D48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2A7D48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D48
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D48#FFFFFF#000000##FFFFFF
##2A7D481.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7344
Deuteranopia (green-blind)
#736B4C
Tritanopia (blue-blind)
#067B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7d48;
/* rgb */ color: rgb(42, 125, 72);
/* oklch */ color: oklch(52.6% 0.115 152.0);
Tailwind
colors: {
  custom: {
    50: '#6ea37b',
    500: '#2a7d48',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d48;
$custom-light: #6ea37b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d48",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 72
  },
  "hsl": {
    "h": 141.687,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52577,
    "c": 0.11507,
    "h": 152
  },
  "luminance": 0.15627
}

Semantic roles & 50–950 ramp

primary
#2A7D48
secondary
#AD568E
accent
#4FA7D9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2A7D48

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

Preview Lab → · Contrast checker → · Palette generator →

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