#2A815C#2A815C

#2A815C is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.1% C 0.101 H 161.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2A815C
RGBrgb(42, 129, 92)
HSLhsl(154, 51%, 34%)
HSVhsv(154, 67%, 51%)
CMYKcmyk(67.4%, 0%, 28.7%, 49.4%)
CIE-LABlab(48.22, -35.09, 12.66)
CIE-LCHlch(48.22, 37.31, 160.16°)
OKLaboklab(54.13% -0.0961 0.0322)
OKLCHoklch(54.13% 0.101 161.5)
XYZxyz(10.7358, 16.9643, 12.8318)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A815C #812A4F
analogous
#2A8130 #2A815C #2A7A81
triadic
#2A815C #5C2A81 #815C2A
tetradic
#2A815C #302A81 #812A4F #7A812A
square
#2A815C #302A81 #812A4F #7A812A
split-complementary
#2A815C #812A7A #81302A
monochromatic
#0C251A #1B533B #2A815C #39AF7D #5CCA9B

Accessibility & contrast

On white

4.78
#2A815C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2A815C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A815C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A815C#FFFFFF#000000##FFFFFF
##2A815C1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F775A
Deuteranopia (green-blind)
#746F5E
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a815c;
/* rgb */ color: rgb(42, 129, 92);
/* oklch */ color: oklch(54.1% 0.101 161.5);
Tailwind
colors: {
  custom: {
    50: '#6ea68a',
    500: '#2a815c',
    950: '#000000',
  },
}
SCSS
$custom: #2a815c;
$custom-light: #6ea68a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a815c",
  "rgb": {
    "r": 42,
    "g": 129,
    "b": 92
  },
  "hsl": {
    "h": 154.483,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54131,
    "c": 0.10137,
    "h": 161.5
  },
  "luminance": 0.16965
}

Semantic roles & 50–950 ramp

primary
#2A815C
secondary
#AF577D
accent
#4D89DA
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2A815C

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

Preview Lab → · Contrast checker → · Palette generator →

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