#1A7C2F#1A7C2F

#1A7C2F is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.143 H 146.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#1A7C2F
RGBrgb(26, 124, 47)
HSLhsl(133, 65%, 29%)
HSVhsv(133, 79%, 49%)
CMYKcmyk(79%, 0%, 62.1%, 51.4%)
CIE-LABlab(45.41, -44.26, 33.68)
CIE-LCHlch(45.41, 55.62, 142.73°)
OKLaboklab(51.47% -0.1192 0.0794)
OKLCHoklch(51.47% 0.143 146.3)
XYZxyz(8.1461, 14.8392, 5.1237)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7C2F #7C1A67
analogous
#367C1A #1A7C2F #1A7C60
triadic
#1A7C2F #2F1A7C #7C2F1A
tetradic
#1A7C2F #1A367C #7C1A67 #7C601A
square
#1A7C2F #1A367C #7C1A67 #7C601A
split-complementary
#1A7C2F #601A7C #7C1A36
monochromatic
#05190A #0F491C #1A7C2F #25AF42 #3BD65C

Accessibility & contrast

On white

5.29
#1A7C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#1A7C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7C2F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7C2F#FFFFFF#000000##FFFFFF
##1A7C2F1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#736835
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7c2f;
/* rgb */ color: rgb(26, 124, 47);
/* oklch */ color: oklch(51.5% 0.143 146.3);
Tailwind
colors: {
  custom: {
    50: '#68a36a',
    500: '#1a7c2f',
    950: '#000000',
  },
}
SCSS
$custom: #1a7c2f;
$custom-light: #68a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7c2f",
  "rgb": {
    "r": 26,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 132.857,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51474,
    "c": 0.14324,
    "h": 146.3
  },
  "luminance": 0.1484
}

Semantic roles & 50–950 ramp

primary
#1A7C2F
secondary
#B04298
accent
#40C4E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1A7C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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