#1A7A45#1A7A45

#1A7A45 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.3% C 0.120 H 153.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#1A7A45
RGBrgb(26, 122, 69)
HSLhsl(147, 65%, 29%)
HSVhsv(147, 79%, 48%)
CMYKcmyk(78.7%, 0%, 43.4%, 52.2%)
CIE-LABlab(45.04, -39.85, 21.48)
CIE-LCHlch(45.04, 45.27, 151.67°)
OKLaboklab(51.26% -0.1073 0.0533)
OKLCHoklch(51.26% 0.12 153.6)
XYZxyz(8.4589, 14.5673, 7.9950)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7A45 #7A1A4F
analogous
#1F7A1A #1A7A45 #1A7A75
triadic
#1A7A45 #451A7A #7A451A
tetradic
#1A7A45 #1A1F7A #7A1A4F #7A751A
square
#1A7A45 #1A1F7A #7A1A4F #7A751A
split-complementary
#1A7A45 #751A7A #7A1A1F
monochromatic
#05190E #0F4828 #1A7A45 #25AC62 #39D57F

Accessibility & contrast

On white

5.37
#1A7A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#1A7A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7A45
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7A45#FFFFFF#000000##FFFFFF
##1A7A451.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F41
Deuteranopia (green-blind)
#6F6749
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7a45;
/* rgb */ color: rgb(26, 122, 69);
/* oklch */ color: oklch(51.3% 0.120 153.6);
Tailwind
colors: {
  custom: {
    50: '#67a179',
    500: '#1a7a45',
    950: '#000000',
  },
}
SCSS
$custom: #1a7a45;
$custom-light: #67a179;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7a45",
  "rgb": {
    "r": 26,
    "g": 122,
    "b": 69
  },
  "hsl": {
    "h": 146.875,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51263,
    "c": 0.11978,
    "h": 153.6
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#1A7A45
secondary
#AE417E
accent
#409DE8
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1A7A45

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

Preview Lab → · Contrast checker → · Palette generator →

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