#2A7D4C#2A7D4C

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

Color values

HEX#2A7D4C
RGBrgb(42, 125, 76)
HSLhsl(145, 50%, 33%)
HSVhsv(145, 66%, 49%)
CMYKcmyk(66.4%, 0%, 39.2%, 51%)
CIE-LABlab(46.55, -36.83, 19.59)
CIE-LCHlch(46.55, 41.72, 151.99°)
OKLaboklab(52.66% -0.0997 0.049)
OKLCHoklch(52.66% 0.111 153.8)
XYZxyz(9.5922, 15.6803, 9.3572)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D4C #7D2A5B
analogous
#327D2A #2A7D4C #2A7D75
triadic
#2A7D4C #4C2A7D #7D4C2A
tetradic
#2A7D4C #2A327D #7D2A5B #7D752A
square
#2A7D4C #2A327D #7D2A5B #7D752A
split-complementary
#2A7D4C #752A7D #7D2A32
monochromatic
#0B2114 #1B4F30 #2A7D4C #39AB68 #5AC887

Accessibility & contrast

On white

5.08
#2A7D4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7D4C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D4C#FFFFFF#000000##FFFFFF
##2A7D4C1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7349
Deuteranopia (green-blind)
#726B4F
Tritanopia (blue-blind)
#017B71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7d4c;
/* rgb */ color: rgb(42, 125, 76);
/* oklch */ color: oklch(52.7% 0.111 153.8);
Tailwind
colors: {
  custom: {
    50: '#6ea37e',
    500: '#2a7d4c',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d4c;
$custom-light: #6ea37e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d4c",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 76
  },
  "hsl": {
    "h": 144.578,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5266,
    "c": 0.11103,
    "h": 153.8
  },
  "luminance": 0.15681
}

Semantic roles & 50–950 ramp

primary
#2A7D4C
secondary
#AD5689
accent
#4FA0D9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2A7D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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