#1A7E2A#1A7E2A

#1A7E2A is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.150 H 145.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1A7E2A
RGBrgb(26, 126, 42)
HSLhsl(130, 66%, 30%)
HSVhsv(130, 79%, 49%)
CMYKcmyk(79.4%, 0%, 66.7%, 50.6%)
CIE-LABlab(46.05, -45.60, 36.79)
CIE-LCHlch(46.05, 58.60, 141.10°)
OKLaboklab(51.99% -0.123 0.0856)
OKLCHoklch(51.99% 0.15 145.2)
XYZxyz(8.3042, 15.3075, 4.7070)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7E2A #7E1A6E
analogous
#3C7E1A #1A7E2A #1A7E5C
triadic
#1A7E2A #2A1A7E #7E2A1A
tetradic
#1A7E2A #1A3C7E #7E1A6E #7E5C1A
square
#1A7E2A #1A3C7E #7E1A6E #7E5C1A
split-complementary
#1A7E2A #5C1A7E #7E1A3C
monochromatic
#051908 #104B19 #1A7E2A #24B13B #3CD755

Accessibility & contrast

On white

5.17
#1A7E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1A7E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7E2A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7E2A#FFFFFF#000000##FFFFFF
##1A7E2A1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807220
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1a7e2a;
/* rgb */ color: rgb(26, 126, 42);
/* oklch */ color: oklch(52.0% 0.150 145.2);
Tailwind
colors: {
  custom: {
    50: '#69a467',
    500: '#1a7e2a',
    950: '#000000',
  },
}
SCSS
$custom: #1a7e2a;
$custom-light: #69a467;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7e2a",
  "rgb": {
    "r": 26,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 129.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51987,
    "c": 0.14987,
    "h": 145.2
  },
  "luminance": 0.15308
}

Semantic roles & 50–950 ramp

primary
#1A7E2A
secondary
#B242A0
accent
#3FCEE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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