#1A7F2E#1A7F2E

#1A7F2E is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.148 H 145.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1A7F2E
RGBrgb(26, 127, 46)
HSLhsl(132, 66%, 30%)
HSVhsv(132, 80%, 50%)
CMYKcmyk(79.5%, 0%, 63.8%, 50.2%)
CIE-LABlab(46.44, -45.46, 35.34)
CIE-LCHlch(46.44, 57.59, 142.14°)
OKLaboklab(52.32% -0.1225 0.0829)
OKLCHoklch(52.32% 0.148 145.9)
XYZxyz(8.5079, 15.5946, 5.1459)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7F2E #7F1A6B
analogous
#397F1A #1A7F2E #1A7F60
triadic
#1A7F2E #2E1A7F #7F2E1A
tetradic
#1A7F2E #1A397F #7F1A6B #7F601A
square
#1A7F2E #1A397F #7F1A6B #7F601A
split-complementary
#1A7F2E #601A7F #7F1A39
monochromatic
#051909 #104C1C #1A7F2E #24B240 #3CD75B

Accessibility & contrast

On white

5.10
#1A7F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1A7F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7F2E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7F2E#FFFFFF#000000##FFFFFF
##1A7F2E1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817325
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a7f2e;
/* rgb */ color: rgb(26, 127, 46);
/* oklch */ color: oklch(52.3% 0.148 145.9);
Tailwind
colors: {
  custom: {
    50: '#69a56a',
    500: '#1a7f2e',
    950: '#000000',
  },
}
SCSS
$custom: #1a7f2e;
$custom-light: #69a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7f2e",
  "rgb": {
    "r": 26,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 131.881,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.5232,
    "c": 0.14791,
    "h": 145.9
  },
  "luminance": 0.15596
}

Semantic roles & 50–950 ramp

primary
#1A7F2E
secondary
#B3429D
accent
#3FC7E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1A7F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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