#1A7F45#1A7F45

#1A7F45 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.127 H 152.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1A7F45
RGBrgb(26, 127, 69)
HSLhsl(146, 66%, 30%)
HSVhsv(146, 80%, 50%)
CMYKcmyk(79.5%, 0%, 45.7%, 50.2%)
CIE-LABlab(46.75, -41.82, 23.71)
CIE-LCHlch(46.75, 48.07, 150.45°)
OKLaboklab(52.68% -0.1124 0.0584)
OKLCHoklch(52.68% 0.127 152.5)
XYZxyz(9.0887, 15.8269, 8.2050)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7F45 #7F1A54
analogous
#217F1A #1A7F45 #1A7F78
triadic
#1A7F45 #451A7F #7F451A
tetradic
#1A7F45 #1A217F #7F1A54 #7F781A
square
#1A7F45 #1A217F #7F1A54 #7F781A
split-complementary
#1A7F45 #781A7F #7F1A21
monochromatic
#05190E #104C29 #1A7F45 #24B261 #3CD77E

Accessibility & contrast

On white

5.04
#1A7F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#1A7F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7F45
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7F45#FFFFFF#000000##FFFFFF
##1A7F451.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7441
Deuteranopia (green-blind)
#736B49
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1a7f45;
/* rgb */ color: rgb(26, 127, 69);
/* oklch */ color: oklch(52.7% 0.127 152.5);
Tailwind
colors: {
  custom: {
    50: '#68a579',
    500: '#1a7f45',
    950: '#000000',
  },
}
SCSS
$custom: #1a7f45;
$custom-light: #68a579;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7f45",
  "rgb": {
    "r": 26,
    "g": 127,
    "b": 69
  },
  "hsl": {
    "h": 145.545,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52676,
    "c": 0.12673,
    "h": 152.5
  },
  "luminance": 0.15828
}

Semantic roles & 50–950 ramp

primary
#1A7F45
secondary
#B34283
accent
#3FA1E9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1A7F45

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

Preview Lab → · Contrast checker → · Palette generator →

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