#1A7B2D#1A7B2D

#1A7B2D is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.144 H 146.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#1A7B2D
RGBrgb(26, 123, 45)
HSLhsl(132, 65%, 29%)
HSVhsv(132, 79%, 48%)
CMYKcmyk(78.9%, 0%, 63.4%, 51.8%)
CIE-LABlab(45.05, -44.17, 34.23)
CIE-LCHlch(45.05, 55.88, 142.22°)
OKLaboklab(51.16% -0.119 0.0804)
OKLCHoklch(51.16% 0.144 146)
XYZxyz(7.9820, 14.5741, 4.8745)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7B2D #7B1A68
analogous
#377B1A #1A7B2D #1A7B5E
triadic
#1A7B2D #2D1A7B #7B2D1A
tetradic
#1A7B2D #1A377B #7B1A68 #7B5E1A
square
#1A7B2D #1A377B #7B1A68 #7B5E1A
split-complementary
#1A7B2D #5E1A7B #7B1A37
monochromatic
#051909 #0F481B #1A7B2D #25AE3F #3AD558

Accessibility & contrast

On white

5.36
#1A7B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#1A7B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7B2D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7B2D#FFFFFF#000000##FFFFFF
##1A7B2D1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F24
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7b2d;
/* rgb */ color: rgb(26, 123, 45);
/* oklch */ color: oklch(51.2% 0.144 146.0);
Tailwind
colors: {
  custom: {
    50: '#68a269',
    500: '#1a7b2d',
    950: '#000000',
  },
}
SCSS
$custom: #1a7b2d;
$custom-light: #68a269;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7b2d",
  "rgb": {
    "r": 26,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 131.753,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51161,
    "c": 0.14364,
    "h": 146
  },
  "luminance": 0.14575
}

Semantic roles & 50–950 ramp

primary
#1A7B2D
secondary
#AF429A
accent
#40C7E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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