#1A7F2F#1A7F2F

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

Color values

HEX#1A7F2F
RGBrgb(26, 127, 47)
HSLhsl(132, 66%, 30%)
HSVhsv(132, 80%, 50%)
CMYKcmyk(79.5%, 0%, 63%, 50.2%)
CIE-LABlab(46.45, -45.34, 34.87)
CIE-LCHlch(46.45, 57.20, 142.43°)
OKLaboklab(52.33% -0.1221 0.082)
OKLCHoklch(52.33% 0.147 146.1)
XYZxyz(8.5278, 15.6026, 5.2509)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7F2F #7F1A6A
analogous
#387F1A #1A7F2F #1A7F61
triadic
#1A7F2F #2F1A7F #7F2F1A
tetradic
#1A7F2F #1A387F #7F1A6A #7F611A
square
#1A7F2F #1A387F #7F1A6A #7F611A
split-complementary
#1A7F2F #611A7F #7F1A38
monochromatic
#051909 #104C1C #1A7F2F #24B242 #3CD75C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A7F2F#FFFFFF#000000##FFFFFF
##1A7F2F1.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)
#817326
Deuteranopia (green-blind)
#766B36
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1a7f2f;
/* rgb */ color: rgb(26, 127, 47);
/* oklch */ color: oklch(52.3% 0.147 146.1);
Tailwind
colors: {
  custom: {
    50: '#69a56a',
    500: '#1a7f2f',
    950: '#000000',
  },
}
SCSS
$custom: #1a7f2f;
$custom-light: #69a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7f2f",
  "rgb": {
    "r": 26,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 132.475,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.14709,
    "h": 146.1
  },
  "luminance": 0.15604
}

Semantic roles & 50–950 ramp

primary
#1A7F2F
secondary
#B3429B
accent
#3FC6E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1A7F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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