#2A7150#2A7150

#2A7150 is a mid, moderate teal. Relative luminance 0.129; OKLCH L 49.4% C 0.089 H 160.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2A7150
RGBrgb(42, 113, 80)
HSLhsl(152, 46%, 30%)
HSVhsv(152, 63%, 44%)
CMYKcmyk(62.8%, 0%, 29.2%, 55.7%)
CIE-LABlab(42.58, -30.62, 11.88)
CIE-LCHlch(42.58, 32.84, 158.80°)
OKLaboklab(49.43% -0.0839 0.0302)
OKLCHoklch(49.43% 0.089 160.2)
XYZxyz(8.3072, 12.8809, 9.6363)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7150 #712A4B
analogous
#2A712D #2A7150 #2A6E71
triadic
#2A7150 #502A71 #71502A
tetradic
#2A7150 #2D2A71 #712A4B #6E712A
square
#2A7150 #2D2A71 #712A4B #6E712A
split-complementary
#2A7150 #712A6E #712D2A
monochromatic
#091811 #194430 #2A7150 #3B9E70 #55C08E

Accessibility & contrast

On white

5.87
#2A7150 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7150
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7150#FFFFFF#000000##FFFFFF
##2A71501.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70694E
Deuteranopia (green-blind)
#666252
Tritanopia (blue-blind)
#077168
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a7150;
/* rgb */ color: rgb(42, 113, 80);
/* oklch */ color: oklch(49.4% 0.089 160.2);
Tailwind
colors: {
  custom: {
    50: '#6b9a81',
    500: '#2a7150',
    950: '#000000',
  },
}
SCSS
$custom: #2a7150;
$custom-light: #6b9a81;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7150",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 80
  },
  "hsl": {
    "h": 152.113,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49431,
    "c": 0.08916,
    "h": 160.2
  },
  "luminance": 0.12882
}

Semantic roles & 50–950 ramp

primary
#2A7150
secondary
#A35479
accent
#528FD5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A7150

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

Preview Lab → · Contrast checker → · Palette generator →

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