#1A7D3B#1A7D3B

#1A7D3B is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.134 H 149.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1A7D3B
RGBrgb(26, 125, 59)
HSLhsl(140, 66%, 30%)
HSVhsv(140, 79%, 49%)
CMYKcmyk(79.2%, 0%, 52.8%, 51%)
CIE-LABlab(45.91, -42.83, 28.09)
CIE-LCHlch(45.91, 51.22, 146.74°)
OKLaboklab(51.93% -0.1151 0.068)
OKLCHoklch(51.93% 0.134 149.4)
XYZxyz(8.5483, 15.2016, 6.6205)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D3B #7D1A5C
analogous
#2B7D1A #1A7D3B #1A7D6D
triadic
#1A7D3B #3B1A7D #7D3B1A
tetradic
#1A7D3B #1A2B7D #7D1A5C #7D6D1A
square
#1A7D3B #1A2B7D #7D1A5C #7D6D1A
split-complementary
#1A7D3B #6D1A7D #7D1A2B
monochromatic
#05190C #0F4A23 #1A7D3B #25B053 #3BD66F

Accessibility & contrast

On white

5.20
#1A7D3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1A7D3B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7D3B
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D3B#FFFFFF#000000##FFFFFF
##1A7D3B1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7235
Deuteranopia (green-blind)
#736A40
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1a7d3b;
/* rgb */ color: rgb(26, 125, 59);
/* oklch */ color: oklch(51.9% 0.134 149.4);
Tailwind
colors: {
  custom: {
    50: '#68a472',
    500: '#1a7d3b',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d3b;
$custom-light: #68a472;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d3b",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 59
  },
  "hsl": {
    "h": 140,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51934,
    "c": 0.13368,
    "h": 149.4
  },
  "luminance": 0.15203
}

Semantic roles & 50–950 ramp

primary
#1A7D3B
secondary
#B1428C
accent
#3FB0E9
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1A7D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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