#1A7D1E#1A7D1E

#1A7D1E is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.157 H 143.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#1A7D1E
RGBrgb(26, 125, 30)
HSLhsl(122, 66%, 30%)
HSVhsv(122, 79%, 49%)
CMYKcmyk(79.2%, 0%, 76%, 51%)
CIE-LABlab(45.61, -46.48, 41.45)
CIE-LCHlch(45.61, 62.28, 138.28°)
OKLaboklab(51.59% -0.126 0.0939)
OKLCHoklch(51.59% 0.157 143.3)
XYZxyz(7.9934, 14.9796, 3.6981)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D1E #7D1A79
analogous
#487D1A #1A7D1E #1A7D50
triadic
#1A7D1E #1E1A7D #7D1E1A
tetradic
#1A7D1E #1A487D #7D1A79 #7D501A
square
#1A7D1E #1A487D #7D1A79 #7D501A
split-complementary
#1A7D1E #501A7D #7D1A48
monochromatic
#051906 #0F4A12 #1A7D1E #25B02A #3BD641

Accessibility & contrast

On white

5.25
#1A7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1A7D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7D1E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D1E#FFFFFF#000000##FFFFFF
##1A7D1E1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7d1e;
/* rgb */ color: rgb(26, 125, 30);
/* oklch */ color: oklch(51.6% 0.157 143.3);
Tailwind
colors: {
  custom: {
    50: '#69a460',
    500: '#1a7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d1e;
$custom-light: #69a460;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d1e",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 122.424,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51585,
    "c": 0.15711,
    "h": 143.3
  },
  "luminance": 0.14981
}

Semantic roles & 50–950 ramp

primary
#1A7D1E
secondary
#B142AD
accent
#3FE2E9
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1A7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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