#2A7D4E#2A7D4E

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

Color values

HEX#2A7D4E
RGBrgb(42, 125, 78)
HSLhsl(146, 50%, 33%)
HSVhsv(146, 66%, 49%)
CMYKcmyk(66.4%, 0%, 37.6%, 51%)
CIE-LABlab(46.59, -36.42, 18.50)
CIE-LCHlch(46.59, 40.85, 153.07°)
OKLaboklab(52.7% -0.0987 0.0464)
OKLCHoklch(52.7% 0.109 154.8)
XYZxyz(9.6628, 15.7085, 9.7291)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D4E #7D2A59
analogous
#2F7D2A #2A7D4E #2A7D77
triadic
#2A7D4E #4E2A7D #7D4E2A
tetradic
#2A7D4E #2A2F7D #7D2A59 #7D772A
square
#2A7D4E #2A2F7D #7D2A59 #7D772A
split-complementary
#2A7D4E #772A7D #7D2A2F
monochromatic
#0B2115 #1B4F31 #2A7D4E #39AB6B #5AC889

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7D4E#FFFFFF#000000##FFFFFF
##2A7D4E1.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)
#7D734B
Deuteranopia (green-blind)
#726B51
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7d4e;
/* rgb */ color: rgb(42, 125, 78);
/* oklch */ color: oklch(52.7% 0.109 154.8);
Tailwind
colors: {
  custom: {
    50: '#6ea380',
    500: '#2a7d4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d4e;
$custom-light: #6ea380;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d4e",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 146.024,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52703,
    "c": 0.10903,
    "h": 154.8
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

primary
#2A7D4E
secondary
#AD5687
accent
#4F9DD9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2A7D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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