#1A7E2C#1A7E2C

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

Color values

HEX#1A7E2C
RGBrgb(26, 126, 44)
HSLhsl(131, 66%, 30%)
HSVhsv(131, 79%, 49%)
CMYKcmyk(79.4%, 0%, 65.1%, 50.6%)
CIE-LABlab(46.07, -45.36, 35.88)
CIE-LCHlch(46.07, 57.84, 141.66°)
OKLaboklab(52.01% -0.1223 0.0838)
OKLCHoklch(52.01% 0.148 145.6)
XYZxyz(8.3409, 15.3222, 4.9003)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7E2C #7E1A6C
analogous
#3A7E1A #1A7E2C #1A7E5E
triadic
#1A7E2C #2C1A7E #7E2C1A
tetradic
#1A7E2C #1A3A7E #7E1A6C #7E5E1A
square
#1A7E2C #1A3A7E #7E1A6C #7E5E1A
split-complementary
#1A7E2C #5E1A7E #7E1A3A
monochromatic
#051909 #104B1A #1A7E2C #24B13E #3CD758

Accessibility & contrast

On white

5.17
#1A7E2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1A7E2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7E2C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7E2C#FFFFFF#000000##FFFFFF
##1A7E2C1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a7e2c;
/* rgb */ color: rgb(26, 126, 44);
/* oklch */ color: oklch(52.0% 0.148 145.6);
Tailwind
colors: {
  custom: {
    50: '#69a469',
    500: '#1a7e2c',
    950: '#000000',
  },
}
SCSS
$custom: #1a7e2c;
$custom-light: #69a469;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7e2c",
  "rgb": {
    "r": 26,
    "g": 126,
    "b": 44
  },
  "hsl": {
    "h": 130.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5201,
    "c": 0.14828,
    "h": 145.6
  },
  "luminance": 0.15323
}

Semantic roles & 50–950 ramp

primary
#1A7E2C
secondary
#B2429E
accent
#3FCAE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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