#2A7154#2A7154

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

Color values

HEX#2A7154
RGBrgb(42, 113, 84)
HSLhsl(155, 46%, 30%)
HSVhsv(155, 63%, 44%)
CMYKcmyk(62.8%, 0%, 25.7%, 55.7%)
CIE-LABlab(42.68, -29.67, 9.63)
CIE-LCHlch(42.68, 31.20, 162.02°)
OKLaboklab(49.54% -0.0818 0.0246)
OKLCHoklch(49.54% 0.085 163.3)
XYZxyz(8.4594, 12.9417, 10.4380)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7154 #712A47
analogous
#2A7131 #2A7154 #2A6A71
triadic
#2A7154 #542A71 #71542A
tetradic
#2A7154 #312A71 #712A47 #6A712A
square
#2A7154 #312A71 #712A47 #6A712A
split-complementary
#2A7154 #712A6A #71312A
monochromatic
#091812 #194433 #2A7154 #3B9E75 #55C094

Accessibility & contrast

On white

5.85
#2A7154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2A7154 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7154
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7154#FFFFFF#000000##FFFFFF
##2A71541.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6952
Deuteranopia (green-blind)
#656256
Tritanopia (blue-blind)
#027169
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a7154;
/* rgb */ color: rgb(42, 113, 84);
/* oklch */ color: oklch(49.5% 0.085 163.3);
Tailwind
colors: {
  custom: {
    50: '#6b9a84',
    500: '#2a7154',
    950: '#000000',
  },
}
SCSS
$custom: #2a7154;
$custom-light: #6b9a84;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7154",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 84
  },
  "hsl": {
    "h": 155.493,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49537,
    "c": 0.08543,
    "h": 163.3
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

primary
#2A7154
secondary
#A35474
accent
#5288D5
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A7154

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

Preview Lab → · Contrast checker → · Palette generator →

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