#1A7D45#1A7D45

#1A7D45 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.124 H 152.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1A7D45
RGBrgb(26, 125, 69)
HSLhsl(146, 66%, 30%)
HSVhsv(146, 79%, 49%)
CMYKcmyk(79.2%, 0%, 44.8%, 51%)
CIE-LABlab(46.06, -41.04, 22.82)
CIE-LCHlch(46.06, 46.96, 150.92°)
OKLaboklab(52.11% -0.1104 0.0564)
OKLCHoklch(52.11% 0.124 152.9)
XYZxyz(8.8330, 15.3155, 8.1197)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D45 #7D1A52
analogous
#207D1A #1A7D45 #1A7D77
triadic
#1A7D45 #451A7D #7D451A
tetradic
#1A7D45 #1A207D #7D1A52 #7D771A
square
#1A7D45 #1A207D #7D1A52 #7D771A
split-complementary
#1A7D45 #771A7D #7D1A20
monochromatic
#05190E #0F4A29 #1A7D45 #25B061 #3BD67F

Accessibility & contrast

On white

5.17
#1A7D45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1A7D45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7D45
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D45#FFFFFF#000000##FFFFFF
##1A7D451.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7241
Deuteranopia (green-blind)
#726A49
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1a7d45;
/* rgb */ color: rgb(26, 125, 69);
/* oklch */ color: oklch(52.1% 0.124 152.9);
Tailwind
colors: {
  custom: {
    50: '#68a479',
    500: '#1a7d45',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d45;
$custom-light: #68a479;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d45",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 69
  },
  "hsl": {
    "h": 146.061,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52112,
    "c": 0.12397,
    "h": 152.9
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#1A7D45
secondary
#B14281
accent
#3F9FE9
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1A7D45

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

Preview Lab → · Contrast checker → · Palette generator →

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