#2A7D4F#2A7D4F

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

Color values

HEX#2A7D4F
RGBrgb(42, 125, 79)
HSLhsl(147, 50%, 33%)
HSVhsv(147, 66%, 49%)
CMYKcmyk(66.4%, 0%, 36.8%, 51%)
CIE-LABlab(46.61, -36.22, 17.95)
CIE-LCHlch(46.61, 40.42, 153.63°)
OKLaboklab(52.73% -0.0982 0.0451)
OKLCHoklch(52.73% 0.108 155.3)
XYZxyz(9.6989, 15.7230, 9.9193)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D4F #7D2A58
analogous
#2E7D2A #2A7D4F #2A7D78
triadic
#2A7D4F #4F2A7D #7D4F2A
tetradic
#2A7D4F #2A2E7D #7D2A58 #7D782A
square
#2A7D4F #2A2E7D #7D2A58 #7D782A
split-complementary
#2A7D4F #782A7D #7D2A2E
monochromatic
#0B2115 #1B4F32 #2A7D4F #39AB6C #5AC88B

Accessibility & contrast

On white

5.07
#2A7D4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2A7D4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D4F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D4F#FFFFFF#000000##FFFFFF
##2A7D4F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7d4f;
/* rgb */ color: rgb(42, 125, 79);
/* oklch */ color: oklch(52.7% 0.108 155.3);
Tailwind
colors: {
  custom: {
    50: '#6ea380',
    500: '#2a7d4f',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d4f;
$custom-light: #6ea380;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d4f",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 79
  },
  "hsl": {
    "h": 146.747,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52725,
    "c": 0.10803,
    "h": 155.3
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#2A7D4F
secondary
#AD5686
accent
#4F9BD9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2A7D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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