#1A7E45#1A7E45

#1A7E45 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.125 H 152.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1A7E45
RGBrgb(26, 126, 69)
HSLhsl(146, 66%, 30%)
HSVhsv(146, 79%, 49%)
CMYKcmyk(79.4%, 0%, 45.2%, 50.6%)
CIE-LABlab(46.41, -41.43, 23.27)
CIE-LCHlch(46.41, 47.51, 150.68°)
OKLaboklab(52.39% -0.1114 0.0574)
OKLCHoklch(52.39% 0.125 152.7)
XYZxyz(8.9602, 15.5699, 8.1621)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7E45 #7E1A53
analogous
#217E1A #1A7E45 #1A7E77
triadic
#1A7E45 #451A7E #7E451A
tetradic
#1A7E45 #1A217E #7E1A53 #7E771A
square
#1A7E45 #1A217E #7E1A53 #7E771A
split-complementary
#1A7E45 #771A7E #7E1A21
monochromatic
#05190E #104B29 #1A7E45 #24B161 #3CD77E

Accessibility & contrast

On white

5.10
#1A7E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#1A7E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7E45
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7E45#FFFFFF#000000##FFFFFF
##1A7E451.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7341
Deuteranopia (green-blind)
#726B49
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a7e45;
/* rgb */ color: rgb(26, 126, 69);
/* oklch */ color: oklch(52.4% 0.125 152.7);
Tailwind
colors: {
  custom: {
    50: '#68a479',
    500: '#1a7e45',
    950: '#000000',
  },
}
SCSS
$custom: #1a7e45;
$custom-light: #68a479;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7e45",
  "rgb": {
    "r": 26,
    "g": 126,
    "b": 69
  },
  "hsl": {
    "h": 145.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.12535,
    "h": 152.7
  },
  "luminance": 0.15571
}

Semantic roles & 50–950 ramp

primary
#1A7E45
secondary
#B24282
accent
#3FA0E9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1A7E45

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

Preview Lab → · Contrast checker → · Palette generator →

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