#2A7152#2A7152

#2A7152 is a mid, moderate teal. Relative luminance 0.129; OKLCH L 49.5% C 0.087 H 161.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2A7152
RGBrgb(42, 113, 82)
HSLhsl(154, 46%, 30%)
HSVhsv(154, 63%, 44%)
CMYKcmyk(62.8%, 0%, 27.4%, 55.7%)
CIE-LABlab(42.63, -30.15, 10.75)
CIE-LCHlch(42.63, 32.01, 160.37°)
OKLaboklab(49.48% -0.0828 0.0274)
OKLCHoklch(49.48% 0.087 161.7)
XYZxyz(8.3822, 12.9109, 10.0313)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7152 #712A49
analogous
#2A712F #2A7152 #2A6C71
triadic
#2A7152 #522A71 #71522A
tetradic
#2A7152 #2F2A71 #712A49 #6C712A
square
#2A7152 #2F2A71 #712A49 #6C712A
split-complementary
#2A7152 #712A6C #712F2A
monochromatic
#091811 #194432 #2A7152 #3B9E72 #55C091

Accessibility & contrast

On white

5.86
#2A7152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2A7152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7152
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7152#FFFFFF#000000##FFFFFF
##2A71521.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6950
Deuteranopia (green-blind)
#656254
Tritanopia (blue-blind)
#047169
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a7152;
/* rgb */ color: rgb(42, 113, 82);
/* oklch */ color: oklch(49.5% 0.087 161.7);
Tailwind
colors: {
  custom: {
    50: '#6b9a82',
    500: '#2a7152',
    950: '#000000',
  },
}
SCSS
$custom: #2a7152;
$custom-light: #6b9a82;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7152",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 82
  },
  "hsl": {
    "h": 153.803,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49483,
    "c": 0.08727,
    "h": 161.7
  },
  "luminance": 0.12912
}

Semantic roles & 50–950 ramp

primary
#2A7152
secondary
#A35476
accent
#528CD5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A7152

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

Preview Lab → · Contrast checker → · Palette generator →

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