#2A7955#2A7955

#2A7955 is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.8% C 0.096 H 160.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2A7955
RGBrgb(42, 121, 85)
HSLhsl(153, 48%, 32%)
HSVhsv(153, 65%, 47%)
CMYKcmyk(65.3%, 0%, 29.8%, 52.5%)
CIE-LABlab(45.39, -33.13, 12.82)
CIE-LCHlch(45.39, 35.52, 158.85°)
OKLaboklab(51.77% -0.0906 0.0326)
OKLCHoklch(51.77% 0.096 160.2)
XYZxyz(9.4310, 14.8219, 10.9565)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7955 #792A4E
analogous
#2A792E #2A7955 #2A7679
triadic
#2A7955 #552A79 #79552A
tetradic
#2A7955 #2E2A79 #792A4E #76792A
square
#2A7955 #2E2A79 #792A4E #76792A
split-complementary
#2A7955 #792A76 #792E2A
monochromatic
#0A1E15 #1A4C35 #2A7955 #3AA675 #58C594

Accessibility & contrast

On white

5.30
#2A7955 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2A7955 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7955
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7955#FFFFFF#000000##FFFFFF
##2A79551.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787053
Deuteranopia (green-blind)
#6D6857
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a7955;
/* rgb */ color: rgb(42, 121, 85);
/* oklch */ color: oklch(51.8% 0.096 160.2);
Tailwind
colors: {
  custom: {
    50: '#6da085',
    500: '#2a7955',
    950: '#000000',
  },
}
SCSS
$custom: #2a7955;
$custom-light: #6da085;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7955",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 85
  },
  "hsl": {
    "h": 152.658,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51765,
    "c": 0.09631,
    "h": 160.2
  },
  "luminance": 0.14823
}

Semantic roles & 50–950 ramp

primary
#2A7955
secondary
#AB547C
accent
#508ED8
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #2A7955

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

Preview Lab → · Contrast checker → · Palette generator →

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