#1A7A2E#1A7A2E

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

Color values

HEX#1A7A2E
RGBrgb(26, 122, 46)
HSLhsl(133, 65%, 29%)
HSVhsv(133, 79%, 48%)
CMYKcmyk(78.7%, 0%, 62.3%, 52.2%)
CIE-LABlab(44.71, -43.68, 33.36)
CIE-LCHlch(44.71, 54.96, 142.63°)
OKLaboklab(50.89% -0.1176 0.0786)
OKLCHoklch(50.89% 0.142 146.2)
XYZxyz(7.8781, 14.3350, 4.9360)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7A2E #7A1A66
analogous
#367A1A #1A7A2E #1A7A5E
triadic
#1A7A2E #2E1A7A #7A2E1A
tetradic
#1A7A2E #1A367A #7A1A66 #7A5E1A
square
#1A7A2E #1A367A #7A1A66 #7A5E1A
split-complementary
#1A7A2E #5E1A7A #7A1A36
monochromatic
#05190A #0F481B #1A7A2E #25AC41 #39D55A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A7A2E#FFFFFF#000000##FFFFFF
##1A7A2E1.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)
#7C6E26
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7a2e;
/* rgb */ color: rgb(26, 122, 46);
/* oklch */ color: oklch(50.9% 0.142 146.2);
Tailwind
colors: {
  custom: {
    50: '#68a169',
    500: '#1a7a2e',
    950: '#000000',
  },
}
SCSS
$custom: #1a7a2e;
$custom-light: #68a169;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7a2e",
  "rgb": {
    "r": 26,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 132.5,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50887,
    "c": 0.14151,
    "h": 146.2
  },
  "luminance": 0.14336
}

Semantic roles & 50–950 ramp

primary
#1A7A2E
secondary
#AE4198
accent
#40C5E8
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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