#1A7252#1A7252

#1A7252 is a mid, moderate teal. Relative luminance 0.129; OKLCH L 49.3% C 0.096 H 163.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#1A7252
RGBrgb(26, 114, 82)
HSLhsl(158, 63%, 27%)
HSVhsv(158, 77%, 45%)
CMYKcmyk(77.2%, 0%, 28.1%, 55.3%)
CIE-LABlab(42.56, -33.59, 10.59)
CIE-LCHlch(42.56, 35.22, 162.50°)
OKLaboklab(49.31% -0.0921 0.027)
OKLCHoklch(49.31% 0.096 163.7)
XYZxyz(7.9654, 12.8625, 10.0439)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7252 #721A3A
analogous
#1A7226 #1A7252 #1A6672
triadic
#1A7252 #521A72 #72521A
tetradic
#1A7252 #261A72 #721A3A #66721A
square
#1A7252 #261A72 #721A3A #66721A
split-complementary
#1A7252 #721A66 #72261A
monochromatic
#061912 #0F402E #1A7252 #25A476 #35D198

Accessibility & contrast

On white

5.88
#1A7252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#1A7252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1A7252#FFFFFF#000000##FFFFFF
##1A72521.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706950
Deuteranopia (green-blind)
#656154
Tritanopia (blue-blind)
#007269
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1a7252;
/* rgb */ color: rgb(26, 114, 82);
/* oklch */ color: oklch(49.3% 0.096 163.7);
Tailwind
colors: {
  custom: {
    50: '#659b82',
    500: '#1a7252',
    950: '#000000',
  },
}
SCSS
$custom: #1a7252;
$custom-light: #659b82;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7252",
  "rgb": {
    "r": 26,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 158.182,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49305,
    "c": 0.096,
    "h": 163.7
  },
  "luminance": 0.12863
}

Semantic roles & 50–950 ramp

primary
#1A7252
secondary
#A74166
accent
#427EE6
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #1A7252

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

Preview Lab → · Contrast checker → · Palette generator →

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