#2A7A4D#2A7A4D

#2A7A4D is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.9% C 0.106 H 155.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2A7A4D
RGBrgb(42, 122, 77)
HSLhsl(146, 49%, 32%)
HSVhsv(146, 66%, 48%)
CMYKcmyk(65.6%, 0%, 36.9%, 52.2%)
CIE-LABlab(45.56, -35.33, 17.69)
CIE-LCHlch(45.56, 39.52, 153.40°)
OKLaboklab(51.85% -0.0958 0.0444)
OKLCHoklch(51.85% 0.106 155.1)
XYZxyz(9.2531, 14.9462, 9.4170)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A4D #7A2A57
analogous
#2F7A2A #2A7A4D #2A7A75
triadic
#2A7A4D #4D2A7A #7A4D2A
tetradic
#2A7A4D #2A2F7A #7A2A57 #7A752A
square
#2A7A4D #2A2F7A #7A2A57 #7A752A
split-complementary
#2A7A4D #752A7A #7A2A2F
monochromatic
#0B1F14 #1A4C30 #2A7A4D #3AA86A #59C688

Accessibility & contrast

On white

5.26
#2A7A4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2A7A4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7A4D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7A4D#FFFFFF#000000##FFFFFF
##2A7A4D1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A704A
Deuteranopia (green-blind)
#6F6950
Tritanopia (blue-blind)
#03796E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a7a4d;
/* rgb */ color: rgb(42, 122, 77);
/* oklch */ color: oklch(51.9% 0.106 155.1);
Tailwind
colors: {
  custom: {
    50: '#6da17f',
    500: '#2a7a4d',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a4d;
$custom-light: #6da17f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a4d",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 77
  },
  "hsl": {
    "h": 146.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51851,
    "c": 0.1056,
    "h": 155.1
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

primary
#2A7A4D
secondary
#AB5585
accent
#4F9CD8
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #2A7A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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