#1A7C2C#1A7C2C

#1A7C2C is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.146 H 145.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#1A7C2C
RGBrgb(26, 124, 44)
HSLhsl(131, 65%, 29%)
HSVhsv(131, 79%, 49%)
CMYKcmyk(79%, 0%, 64.5%, 51.4%)
CIE-LABlab(45.38, -44.65, 35.10)
CIE-LCHlch(45.38, 56.80, 141.83°)
OKLaboklab(51.44% -0.1204 0.0822)
OKLCHoklch(51.44% 0.146 145.7)
XYZxyz(8.0877, 14.8158, 4.8159)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7C2C #7C1A6A
analogous
#397C1A #1A7C2C #1A7C5D
triadic
#1A7C2C #2C1A7C #7C2C1A
tetradic
#1A7C2C #1A397C #7C1A6A #7C5D1A
square
#1A7C2C #1A397C #7C1A6A #7C5D1A
split-complementary
#1A7C2C #5D1A7C #7C1A39
monochromatic
#051909 #0F491A #1A7C2C #25AF3E #3BD657

Accessibility & contrast

On white

5.30
#1A7C2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#1A7C2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7C2C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7C2C#FFFFFF#000000##FFFFFF
##1A7C2C1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7023
Deuteranopia (green-blind)
#736833
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7c2c;
/* rgb */ color: rgb(26, 124, 44);
/* oklch */ color: oklch(51.4% 0.146 145.7);
Tailwind
colors: {
  custom: {
    50: '#68a368',
    500: '#1a7c2c',
    950: '#000000',
  },
}
SCSS
$custom: #1a7c2c;
$custom-light: #68a368;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7c2c",
  "rgb": {
    "r": 26,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 131.02,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51437,
    "c": 0.14575,
    "h": 145.7
  },
  "luminance": 0.14817
}

Semantic roles & 50–950 ramp

primary
#1A7C2C
secondary
#B0429C
accent
#40C9E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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