#1A7A2F#1A7A2F

#1A7A2F is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.141 H 146.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#1A7A2F
RGBrgb(26, 122, 47)
HSLhsl(133, 65%, 29%)
HSVhsv(133, 79%, 48%)
CMYKcmyk(78.7%, 0%, 61.5%, 52.2%)
CIE-LABlab(44.72, -43.54, 32.88)
CIE-LCHlch(44.72, 54.56, 142.94°)
OKLaboklab(50.9% -0.1172 0.0777)
OKLCHoklch(50.9% 0.141 146.5)
XYZxyz(7.8980, 14.3430, 5.0410)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7A2F #7A1A65
analogous
#357A1A #1A7A2F #1A7A5F
triadic
#1A7A2F #2F1A7A #7A2F1A
tetradic
#1A7A2F #1A357A #7A1A65 #7A5F1A
square
#1A7A2F #1A357A #7A1A65 #7A5F1A
split-complementary
#1A7A2F #5F1A7A #7A1A35
monochromatic
#05190A #0F481C #1A7A2F #25AC42 #39D55B

Accessibility & contrast

On white

5.43
#1A7A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#1A7A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7A2F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7A2F#FFFFFF#000000##FFFFFF
##1A7A2F1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E27
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7a2f;
/* rgb */ color: rgb(26, 122, 47);
/* oklch */ color: oklch(50.9% 0.141 146.5);
Tailwind
colors: {
  custom: {
    50: '#68a16a',
    500: '#1a7a2f',
    950: '#000000',
  },
}
SCSS
$custom: #1a7a2f;
$custom-light: #68a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7a2f",
  "rgb": {
    "r": 26,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 133.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.509,
    "c": 0.14065,
    "h": 146.5
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#1A7A2F
secondary
#AE4197
accent
#40C3E8
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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