#2A6F4E#2A6F4E

#2A6F4E is a mid, moderate teal. Relative luminance 0.124; OKLCH L 48.8% C 0.088 H 159.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2A6F4E
RGBrgb(42, 111, 78)
HSLhsl(151, 45%, 30%)
HSVhsv(151, 62%, 44%)
CMYKcmyk(62.2%, 0%, 29.7%, 56.5%)
CIE-LABlab(41.86, -30.15, 12.06)
CIE-LCHlch(41.86, 32.48, 158.19°)
OKLaboklab(48.83% -0.0825 0.0307)
OKLCHoklch(48.83% 0.088 159.6)
XYZxyz(8.0137, 12.4104, 9.1794)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6F4E #6F2A4B
analogous
#2A6F2B #2A6F4E #2A6E6F
triadic
#2A6F4E #4E2A6F #6F4E2A
tetradic
#2A6F4E #2B2A6F #6F2A4B #6E6F2A
square
#2A6F4E #2B2A6F #6F2A4B #6E6F2A
split-complementary
#2A6F4E #6F2A6E #6F2B2A
monochromatic
#081610 #19432F #2A6F4E #3B9B6D #55BF8C

Accessibility & contrast

On white

6.03
#2A6F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2A6F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6F4E
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6F4E#FFFFFF#000000##FFFFFF
##2A6F4E1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E674C
Deuteranopia (green-blind)
#646050
Tritanopia (blue-blind)
#0B6E66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2a6f4e;
/* rgb */ color: rgb(42, 111, 78);
/* oklch */ color: oklch(48.8% 0.088 159.6);
Tailwind
colors: {
  custom: {
    50: '#6b997f',
    500: '#2a6f4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a6f4e;
$custom-light: #6b997f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6f4e",
  "rgb": {
    "r": 42,
    "g": 111,
    "b": 78
  },
  "hsl": {
    "h": 151.304,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.48826,
    "c": 0.08805,
    "h": 159.6
  },
  "luminance": 0.12411
}

Semantic roles & 50–950 ramp

primary
#2A6F4E
secondary
#A15479
accent
#5391D5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A6F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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