#1A7B3A#1A7B3A

#1A7B3A is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.132 H 149.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#1A7B3A
RGBrgb(26, 123, 58)
HSLhsl(140, 65%, 29%)
HSVhsv(140, 79%, 48%)
CMYKcmyk(78.9%, 0%, 52.8%, 51.8%)
CIE-LABlab(45.21, -42.24, 27.76)
CIE-LCHlch(45.21, 50.55, 146.69°)
OKLaboklab(51.35% -0.1135 0.0672)
OKLCHoklch(51.35% 0.132 149.4)
XYZxyz(8.2720, 14.6900, 6.4017)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7B3A #7B1A5B
analogous
#2A7B1A #1A7B3A #1A7B6B
triadic
#1A7B3A #3A1A7B #7B3A1A
tetradic
#1A7B3A #1A2A7B #7B1A5B #7B6B1A
square
#1A7B3A #1A2A7B #7B1A5B #7B6B1A
split-complementary
#1A7B3A #6B1A7B #7B1A2A
monochromatic
#05190C #0F4822 #1A7B3A #25AE52 #3AD56D

Accessibility & contrast

On white

5.33
#1A7B3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#1A7B3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7B3A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7B3A#FFFFFF#000000##FFFFFF
##1A7B3A1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7034
Deuteranopia (green-blind)
#71683F
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7b3a;
/* rgb */ color: rgb(26, 123, 58);
/* oklch */ color: oklch(51.3% 0.132 149.4);
Tailwind
colors: {
  custom: {
    50: '#68a271',
    500: '#1a7b3a',
    950: '#000000',
  },
}
SCSS
$custom: #1a7b3a;
$custom-light: #68a271;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7b3a",
  "rgb": {
    "r": 26,
    "g": 123,
    "b": 58
  },
  "hsl": {
    "h": 139.794,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51348,
    "c": 0.13193,
    "h": 149.4
  },
  "luminance": 0.14691
}

Semantic roles & 50–950 ramp

primary
#1A7B3A
secondary
#AF428B
accent
#40B1E8
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1A7B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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