#1A7E2F#1A7E2F

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

Color values

HEX#1A7E2F
RGBrgb(26, 126, 47)
HSLhsl(133, 66%, 30%)
HSVhsv(133, 79%, 49%)
CMYKcmyk(79.4%, 0%, 62.7%, 50.6%)
CIE-LABlab(46.10, -44.98, 34.48)
CIE-LCHlch(46.10, 56.67, 142.53°)
OKLaboklab(52.05% -0.1211 0.0811)
OKLCHoklch(52.05% 0.146 146.2)
XYZxyz(8.3993, 15.3456, 5.2081)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7E2F #7E1A69
analogous
#377E1A #1A7E2F #1A7E61
triadic
#1A7E2F #2F1A7E #7E2F1A
tetradic
#1A7E2F #1A377E #7E1A69 #7E611A
square
#1A7E2F #1A377E #7E1A69 #7E611A
split-complementary
#1A7E2F #611A7E #7E1A37
monochromatic
#051909 #104B1C #1A7E2F #24B142 #3CD75C

Accessibility & contrast

On white

5.16
#1A7E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#1A7E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7E2F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7E2F#FFFFFF#000000##FFFFFF
##1A7E2F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807226
Deuteranopia (green-blind)
#756A36
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1a7e2f;
/* rgb */ color: rgb(26, 126, 47);
/* oklch */ color: oklch(52.0% 0.146 146.2);
Tailwind
colors: {
  custom: {
    50: '#69a46a',
    500: '#1a7e2f',
    950: '#000000',
  },
}
SCSS
$custom: #1a7e2f;
$custom-light: #69a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7e2f",
  "rgb": {
    "r": 26,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 132.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52047,
    "c": 0.14581,
    "h": 146.2
  },
  "luminance": 0.15347
}

Semantic roles & 50–950 ramp

primary
#1A7E2F
secondary
#B2429A
accent
#3FC5E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1A7E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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