#2A7E4E#2A7E4E

#2A7E4E is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.0% C 0.111 H 154.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2A7E4E
RGBrgb(42, 126, 78)
HSLhsl(146, 50%, 33%)
HSVhsv(146, 67%, 49%)
CMYKcmyk(66.7%, 0%, 38.1%, 50.6%)
CIE-LABlab(46.93, -36.85, 18.95)
CIE-LCHlch(46.93, 41.44, 152.79°)
OKLaboklab(52.98% -0.0998 0.0475)
OKLCHoklch(52.98% 0.111 154.6)
XYZxyz(9.7900, 15.9630, 9.7715)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E4E #7E2A5A
analogous
#307E2A #2A7E4E #2A7E78
triadic
#2A7E4E #4E2A7E #7E4E2A
tetradic
#2A7E4E #2A307E #7E2A5A #7E782A
square
#2A7E4E #2A307E #7E2A5A #7E782A
split-complementary
#2A7E4E #782A7E #7E2A30
monochromatic
#0B2215 #1B5032 #2A7E4E #39AC6A #5AC889

Accessibility & contrast

On white

5.01
#2A7E4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2A7E4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E4E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E4E#FFFFFF#000000##FFFFFF
##2A7E4E1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744B
Deuteranopia (green-blind)
#736C51
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a7e4e;
/* rgb */ color: rgb(42, 126, 78);
/* oklch */ color: oklch(53.0% 0.111 154.6);
Tailwind
colors: {
  custom: {
    50: '#6ea480',
    500: '#2a7e4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e4e;
$custom-light: #6ea480;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e4e",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 145.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52979,
    "c": 0.11051,
    "h": 154.6
  },
  "luminance": 0.15964
}

Semantic roles & 50–950 ramp

primary
#2A7E4E
secondary
#AE5688
accent
#4E9EDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2A7E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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