#1A7D2E#1A7D2E

#1A7D2E is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.145 H 146.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1A7D2E
RGBrgb(26, 125, 46)
HSLhsl(132, 66%, 30%)
HSVhsv(132, 79%, 49%)
CMYKcmyk(79.2%, 0%, 63.2%, 51%)
CIE-LABlab(45.75, -44.75, 34.55)
CIE-LCHlch(45.75, 56.54, 142.33°)
OKLaboklab(51.75% -0.1206 0.0812)
OKLCHoklch(51.75% 0.145 146)
XYZxyz(8.2522, 15.0831, 5.0607)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D2E #7D1A69
analogous
#387D1A #1A7D2E #1A7D60
triadic
#1A7D2E #2E1A7D #7D2E1A
tetradic
#1A7D2E #1A387D #7D1A69 #7D601A
square
#1A7D2E #1A387D #7D1A69 #7D601A
split-complementary
#1A7D2E #601A7D #7D1A38
monochromatic
#051909 #0F4A1B #1A7D2E #25B041 #3BD65A

Accessibility & contrast

On white

5.23
#1A7D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1A7D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7D2E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D2E#FFFFFF#000000##FFFFFF
##1A7D2E1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7125
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7d2e;
/* rgb */ color: rgb(26, 125, 46);
/* oklch */ color: oklch(51.7% 0.145 146.0);
Tailwind
colors: {
  custom: {
    50: '#69a46a',
    500: '#1a7d2e',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d2e;
$custom-light: #69a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d2e",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 132.121,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51748,
    "c": 0.14536,
    "h": 146
  },
  "luminance": 0.15084
}

Semantic roles & 50–950 ramp

primary
#1A7D2E
secondary
#B1429B
accent
#3FC6E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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