#2A8262#2A8262

#2A8262 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.6% C 0.098 H 165.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A8262
RGBrgb(42, 130, 98)
HSLhsl(158, 51%, 34%)
HSVhsv(158, 68%, 51%)
CMYKcmyk(67.7%, 0%, 24.6%, 49%)
CIE-LABlab(48.68, -34.11, 9.83)
CIE-LCHlch(48.68, 35.50, 163.92°)
OKLaboklab(54.56% -0.0942 0.0251)
OKLCHoklch(54.56% 0.098 165.1)
XYZxyz(11.1409, 17.3381, 14.3124)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8262 #822A4A
analogous
#2A8236 #2A8262 #2A7682
triadic
#2A8262 #622A82 #82622A
tetradic
#2A8262 #362A82 #822A4A #76822A
square
#2A8262 #362A82 #822A4A #76822A
split-complementary
#2A8262 #822A76 #82362A
monochromatic
#0C251C #1B543F #2A8262 #39B085 #5CCAA2

Accessibility & contrast

On white

4.70
#2A8262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2A8262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8262
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8262#FFFFFF#000000##FFFFFF
##2A82621.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7960
Deuteranopia (green-blind)
#737064
Tritanopia (blue-blind)
#008279
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a8262;
/* rgb */ color: rgb(42, 130, 98);
/* oklch */ color: oklch(54.6% 0.098 165.1);
Tailwind
colors: {
  custom: {
    50: '#6fa78e',
    500: '#2a8262',
    950: '#000000',
  },
}
SCSS
$custom: #2a8262;
$custom-light: #6fa78e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8262",
  "rgb": {
    "r": 42,
    "g": 130,
    "b": 98
  },
  "hsl": {
    "h": 158.182,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5456,
    "c": 0.0975,
    "h": 165.1
  },
  "luminance": 0.17339
}

Semantic roles & 50–950 ramp

primary
#2A8262
secondary
#B05878
accent
#4D81DB
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #2A8262

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

Preview Lab → · Contrast checker → · Palette generator →

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