#1A7A2D#1A7A2D

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

Color values

HEX#1A7A2D
RGBrgb(26, 122, 45)
HSLhsl(132, 65%, 29%)
HSVhsv(132, 79%, 48%)
CMYKcmyk(78.7%, 0%, 63.1%, 52.2%)
CIE-LABlab(44.70, -43.81, 33.84)
CIE-LCHlch(44.70, 55.35, 142.32°)
OKLaboklab(50.87% -0.118 0.0796)
OKLCHoklch(50.87% 0.142 146)
XYZxyz(7.8586, 14.3272, 4.8334)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7A2D #7A1A67
analogous
#377A1A #1A7A2D #1A7A5D
triadic
#1A7A2D #2D1A7A #7A2D1A
tetradic
#1A7A2D #1A377A #7A1A67 #7A5D1A
square
#1A7A2D #1A377A #7A1A67 #7A5D1A
split-complementary
#1A7A2D #5D1A7A #7A1A37
monochromatic
#051909 #0F481A #1A7A2D #25AC40 #39D558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A7A2D#FFFFFF#000000##FFFFFF
##1A7A2D1.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)
#7C6E25
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7a2d;
/* rgb */ color: rgb(26, 122, 45);
/* oklch */ color: oklch(50.9% 0.142 146.0);
Tailwind
colors: {
  custom: {
    50: '#68a169',
    500: '#1a7a2d',
    950: '#000000',
  },
}
SCSS
$custom: #1a7a2d;
$custom-light: #68a169;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7a2d",
  "rgb": {
    "r": 26,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 131.875,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50874,
    "c": 0.14236,
    "h": 146
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#1A7A2D
secondary
#AE4199
accent
#40C7E8
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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