#1A7D19#1A7D19

#1A7D19 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.5% C 0.160 H 142.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#1A7D19
RGBrgb(26, 125, 25)
HSLhsl(119, 67%, 29%)
HSVhsv(119, 80%, 49%)
CMYKcmyk(79.2%, 0%, 80%, 51%)
CIE-LABlab(45.57, -46.88, 43.26)
CIE-LCHlch(45.57, 63.79, 137.30°)
OKLaboklab(51.55% -0.1273 0.0969)
OKLCHoklch(51.55% 0.16 142.7)
XYZxyz(7.9346, 14.9561, 3.3882)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D19 #7C197D
analogous
#4C7D19 #1A7D19 #197D4A
triadic
#1A7D19 #191A7D #7D191A
tetradic
#1A7D19 #194C7D #7C197D #7D4A19
square
#1A7D19 #194C7D #7C197D #7D4A19
split-complementary
#1A7D19 #4A197D #7D194C
monochromatic
#051A05 #0F4A0F #1A7D19 #25B023 #3BD739

Accessibility & contrast

On white

5.26
#1A7D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#1A7D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7D19
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D19#FFFFFF#000000##FFFFFF
##1A7D191.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807001
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7d19;
/* rgb */ color: rgb(26, 125, 25);
/* oklch */ color: oklch(51.5% 0.160 142.7);
Tailwind
colors: {
  custom: {
    50: '#6aa45e',
    500: '#1a7d19',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d19;
$custom-light: #6aa45e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d19",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 119.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51548,
    "c": 0.16,
    "h": 142.7
  },
  "luminance": 0.14957
}

Semantic roles & 50–950 ramp

primary
#1A7D19
secondary
#B040B1
accent
#3EEAE8
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1A7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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