#1A7F4B#1A7F4B

#1A7F4B is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.121 H 155.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#1A7F4B
RGBrgb(26, 127, 75)
HSLhsl(149, 66%, 30%)
HSVhsv(149, 80%, 50%)
CMYKcmyk(79.5%, 0%, 40.9%, 50.2%)
CIE-LABlab(46.85, -40.63, 20.49)
CIE-LCHlch(46.85, 45.50, 153.24°)
OKLaboklab(52.8% -0.1095 0.0511)
OKLCHoklch(52.8% 0.121 155)
XYZxyz(9.2845, 15.9052, 9.2359)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7F4B #7F1A4E
analogous
#1B7F1A #1A7F4B #1A7F7E
triadic
#1A7F4B #4B1A7F #7F4B1A
tetradic
#1A7F4B #1A1B7F #7F1A4E #7F7E1A
square
#1A7F4B #1A1B7F #7F1A4E #7F7E1A
split-complementary
#1A7F4B #7E1A7F #7F1A1B
monochromatic
#05190F #104C2D #1A7F4B #24B269 #3CD787

Accessibility & contrast

On white

5.02
#1A7F4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#1A7F4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7F4B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7F4B#FFFFFF#000000##FFFFFF
##1A7F4B1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7447
Deuteranopia (green-blind)
#736C4E
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1a7f4b;
/* rgb */ color: rgb(26, 127, 75);
/* oklch */ color: oklch(52.8% 0.121 155.0);
Tailwind
colors: {
  custom: {
    50: '#68a57e',
    500: '#1a7f4b',
    950: '#000000',
  },
}
SCSS
$custom: #1a7f4b;
$custom-light: #68a57e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7f4b",
  "rgb": {
    "r": 26,
    "g": 127,
    "b": 75
  },
  "hsl": {
    "h": 149.109,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52795,
    "c": 0.12084,
    "h": 155
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#1A7F4B
secondary
#B3427C
accent
#3F96E9
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1A7F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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