#1A7D2B#1A7D2B

#1A7D2B is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.148 H 145.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1A7D2B
RGBrgb(26, 125, 43)
HSLhsl(130, 66%, 30%)
HSVhsv(130, 79%, 49%)
CMYKcmyk(79.2%, 0%, 65.6%, 51%)
CIE-LABlab(45.72, -45.13, 35.95)
CIE-LCHlch(45.72, 57.70, 141.46°)
OKLaboklab(51.71% -0.1217 0.0839)
OKLCHoklch(51.71% 0.148 145.4)
XYZxyz(8.1951, 15.0603, 4.7601)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D2B #7D1A6C
analogous
#3B7D1A #1A7D2B #1A7D5D
triadic
#1A7D2B #2B1A7D #7D2B1A
tetradic
#1A7D2B #1A3B7D #7D1A6C #7D5D1A
square
#1A7D2B #1A3B7D #7D1A6C #7D5D1A
split-complementary
#1A7D2B #5D1A7D #7D1A3B
monochromatic
#051909 #0F4A1A #1A7D2B #25B03C #3BD656

Accessibility & contrast

On white

5.23
#1A7D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1A7D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7D2B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D2B#FFFFFF#000000##FFFFFF
##1A7D2B1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7121
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7d2b;
/* rgb */ color: rgb(26, 125, 43);
/* oklch */ color: oklch(51.7% 0.148 145.4);
Tailwind
colors: {
  custom: {
    50: '#69a468',
    500: '#1a7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d2b;
$custom-light: #69a468;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d2b",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 130.303,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51712,
    "c": 0.14783,
    "h": 145.4
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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