#2A7252#2A7252

#2A7252 is a mid, moderate teal. Relative luminance 0.131; OKLCH L 49.8% C 0.089 H 161.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2A7252
RGBrgb(42, 114, 82)
HSLhsl(153, 46%, 31%)
HSVhsv(153, 63%, 45%)
CMYKcmyk(63.2%, 0%, 28.1%, 55.3%)
CIE-LABlab(42.97, -30.62, 11.22)
CIE-LCHlch(42.97, 32.61, 159.87°)
OKLaboklab(49.76% -0.084 0.0286)
OKLCHoklch(49.76% 0.089 161.2)
XYZxyz(8.4944, 13.1352, 10.0687)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7252 #722A4A
analogous
#2A722E #2A7252 #2A6E72
triadic
#2A7252 #522A72 #72522A
tetradic
#2A7252 #2E2A72 #722A4A #6E722A
square
#2A7252 #2E2A72 #722A4A #6E722A
split-complementary
#2A7252 #722A6E #722E2A
monochromatic
#091912 #1A4532 #2A7252 #3A9F72 #56C191

Accessibility & contrast

On white

5.79
#2A7252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2A7252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7252
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7252#FFFFFF#000000##FFFFFF
##2A72521.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706A50
Deuteranopia (green-blind)
#666354
Tritanopia (blue-blind)
#047269
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2a7252;
/* rgb */ color: rgb(42, 114, 82);
/* oklch */ color: oklch(49.8% 0.089 161.2);
Tailwind
colors: {
  custom: {
    50: '#6c9b82',
    500: '#2a7252',
    950: '#000000',
  },
}
SCSS
$custom: #2a7252;
$custom-light: #6c9b82;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7252",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 153.333,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49759,
    "c": 0.08876,
    "h": 161.2
  },
  "luminance": 0.13136
}

Semantic roles & 50–950 ramp

primary
#2A7252
secondary
#A45477
accent
#528DD6
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2A7252

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

Preview Lab → · Contrast checker → · Palette generator →

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