#2A7C48#2A7C48

#2A7C48 is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.3% C 0.114 H 152.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2A7C48
RGBrgb(42, 124, 72)
HSLhsl(142, 49%, 33%)
HSVhsv(142, 66%, 49%)
CMYKcmyk(66.1%, 0%, 41.9%, 51.4%)
CIE-LABlab(46.14, -37.20, 21.31)
CIE-LCHlch(46.14, 42.87, 150.19°)
OKLaboklab(52.3% -0.1005 0.0529)
OKLCHoklch(52.3% 0.114 152.2)
XYZxyz(9.3314, 15.3745, 8.6054)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7C48 #7C2A5E
analogous
#357C2A #2A7C48 #2A7C71
triadic
#2A7C48 #482A7C #7C482A
tetradic
#2A7C48 #2A357C #7C2A5E #7C712A
square
#2A7C48 #2A357C #7C2A5E #7C712A
split-complementary
#2A7C48 #712A7C #7C2A35
monochromatic
#0B2113 #1B4E2D #2A7C48 #39AA63 #59C782

Accessibility & contrast

On white

5.15
#2A7C48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2A7C48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7C48
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7C48#FFFFFF#000000##FFFFFF
##2A7C481.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7244
Deuteranopia (green-blind)
#726A4B
Tritanopia (blue-blind)
#077A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7c48;
/* rgb */ color: rgb(42, 124, 72);
/* oklch */ color: oklch(52.3% 0.114 152.2);
Tailwind
colors: {
  custom: {
    50: '#6da37b',
    500: '#2a7c48',
    950: '#000000',
  },
}
SCSS
$custom: #2a7c48;
$custom-light: #6da37b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7c48",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 72
  },
  "hsl": {
    "h": 141.951,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.1136,
    "h": 152.2
  },
  "luminance": 0.15375
}

Semantic roles & 50–950 ramp

primary
#2A7C48
secondary
#AD558D
accent
#4FA6D9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2A7C48

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

Preview Lab → · Contrast checker → · Palette generator →

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