#1A7F2C#1A7F2C

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

Color values

HEX#1A7F2C
RGBrgb(26, 127, 44)
HSLhsl(131, 66%, 30%)
HSVhsv(131, 80%, 50%)
CMYKcmyk(79.5%, 0%, 65.4%, 50.2%)
CIE-LABlab(46.42, -45.71, 36.27)
CIE-LCHlch(46.42, 58.35, 141.57°)
OKLaboklab(52.3% -0.1232 0.0847)
OKLCHoklch(52.3% 0.15 145.5)
XYZxyz(8.4694, 15.5792, 4.9431)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7F2C #7F1A6D
analogous
#3B7F1A #1A7F2C #1A7F5E
triadic
#1A7F2C #2C1A7F #7F2C1A
tetradic
#1A7F2C #1A3B7F #7F1A6D #7F5E1A
square
#1A7F2C #1A3B7F #7F1A6D #7F5E1A
split-complementary
#1A7F2C #5E1A7F #7F1A3B
monochromatic
#051909 #104C1A #1A7F2C #24B23E #3CD758

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A7F2C#FFFFFF#000000##FFFFFF
##1A7F2C1.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)
#817322
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a7f2c;
/* rgb */ color: rgb(26, 127, 44);
/* oklch */ color: oklch(52.3% 0.150 145.5);
Tailwind
colors: {
  custom: {
    50: '#69a569',
    500: '#1a7f2c',
    950: '#000000',
  },
}
SCSS
$custom: #1a7f2c;
$custom-light: #69a569;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7f2c",
  "rgb": {
    "r": 26,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 130.693,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52297,
    "c": 0.14954,
    "h": 145.5
  },
  "luminance": 0.1558
}

Semantic roles & 50–950 ramp

primary
#1A7F2C
secondary
#B3429F
accent
#3FCBE9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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