#2A7D4B#2A7D4B

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

Color values

HEX#2A7D4B
RGBrgb(42, 125, 75)
HSLhsl(144, 50%, 33%)
HSVhsv(144, 66%, 49%)
CMYKcmyk(66.4%, 0%, 40%, 51%)
CIE-LABlab(46.53, -37.03, 20.13)
CIE-LCHlch(46.53, 42.15, 151.47°)
OKLaboklab(52.64% -0.1002 0.0502)
OKLCHoklch(52.64% 0.112 153.4)
XYZxyz(9.5577, 15.6665, 9.1755)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D4B #7D2A5C
analogous
#337D2A #2A7D4B #2A7D74
triadic
#2A7D4B #4B2A7D #7D4B2A
tetradic
#2A7D4B #2A337D #7D2A5C #7D742A
square
#2A7D4B #2A337D #7D2A5C #7D742A
split-complementary
#2A7D4B #742A7D #7D2A33
monochromatic
#0B2114 #1B4F30 #2A7D4B #39AB66 #5AC885

Accessibility & contrast

On white

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

On black

4.13
#2A7D4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A7D4B#FFFFFF#000000##FFFFFF
##2A7D4B1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7348
Deuteranopia (green-blind)
#726B4E
Tritanopia (blue-blind)
#027B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7d4b;
/* rgb */ color: rgb(42, 125, 75);
/* oklch */ color: oklch(52.6% 0.112 153.4);
Tailwind
colors: {
  custom: {
    50: '#6ea37d',
    500: '#2a7d4b',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d4b;
$custom-light: #6ea37d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d4b",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 75
  },
  "hsl": {
    "h": 143.855,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52638,
    "c": 0.11204,
    "h": 153.4
  },
  "luminance": 0.15667
}

Semantic roles & 50–950 ramp

primary
#2A7D4B
secondary
#AD568A
accent
#4FA2D9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2A7D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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