#2A7258#2A7258

#2A7258 is a mid, moderate teal. Relative luminance 0.132; OKLCH L 49.9% C 0.083 H 166.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2A7258
RGBrgb(42, 114, 88)
HSLhsl(158, 46%, 31%)
HSVhsv(158, 63%, 45%)
CMYKcmyk(63.2%, 0%, 22.8%, 55.3%)
CIE-LABlab(43.11, -29.16, 7.86)
CIE-LCHlch(43.11, 30.20, 164.92°)
OKLaboklab(49.92% -0.0809 0.0201)
OKLCHoklch(49.92% 0.083 166)
XYZxyz(8.7327, 13.2306, 11.3242)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7258 #722A44
analogous
#2A7234 #2A7258 #2A6872
triadic
#2A7258 #582A72 #72582A
tetradic
#2A7258 #342A72 #722A44 #68722A
square
#2A7258 #342A72 #722A44 #68722A
split-complementary
#2A7258 #722A68 #72342A
monochromatic
#091913 #1A4535 #2A7258 #3A9F7B #56C19A

Accessibility & contrast

On white

5.76
#2A7258 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2A7258 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7258
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7258#FFFFFF#000000##FFFFFF
##2A72581.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706A57
Deuteranopia (green-blind)
#65635A
Tritanopia (blue-blind)
#00726B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2a7258;
/* rgb */ color: rgb(42, 114, 88);
/* oklch */ color: oklch(49.9% 0.083 166.0);
Tailwind
colors: {
  custom: {
    50: '#6c9b87',
    500: '#2a7258',
    950: '#000000',
  },
}
SCSS
$custom: #2a7258;
$custom-light: #6c9b87;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7258",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 88
  },
  "hsl": {
    "h": 158.333,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49923,
    "c": 0.0834,
    "h": 166
  },
  "luminance": 0.13231
}

Semantic roles & 50–950 ramp

primary
#2A7258
secondary
#A45471
accent
#5282D6
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #2A7258

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

Preview Lab → · Contrast checker → · Palette generator →

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