#1A7C2D#1A7C2D

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

Color values

HEX#1A7C2D
RGBrgb(26, 124, 45)
HSLhsl(132, 65%, 29%)
HSVhsv(132, 79%, 49%)
CMYKcmyk(79%, 0%, 63.7%, 51.4%)
CIE-LABlab(45.39, -44.53, 34.63)
CIE-LCHlch(45.39, 56.41, 142.13°)
OKLaboklab(51.45% -0.12 0.0813)
OKLCHoklch(51.45% 0.145 145.9)
XYZxyz(8.1067, 14.8234, 4.9161)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7C2D #7C1A69
analogous
#387C1A #1A7C2D #1A7C5E
triadic
#1A7C2D #2D1A7C #7C2D1A
tetradic
#1A7C2D #1A387C #7C1A69 #7C5E1A
square
#1A7C2D #1A387C #7C1A69 #7C5E1A
split-complementary
#1A7C2D #5E1A7C #7C1A38
monochromatic
#051909 #0F491B #1A7C2D #25AF3F #3BD659

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A7C2D#FFFFFF#000000##FFFFFF
##1A7C2D1.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)
#7E7024
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7c2d;
/* rgb */ color: rgb(26, 124, 45);
/* oklch */ color: oklch(51.4% 0.145 145.9);
Tailwind
colors: {
  custom: {
    50: '#68a369',
    500: '#1a7c2d',
    950: '#000000',
  },
}
SCSS
$custom: #1a7c2d;
$custom-light: #68a369;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7c2d",
  "rgb": {
    "r": 26,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 131.633,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51449,
    "c": 0.14492,
    "h": 145.9
  },
  "luminance": 0.14824
}

Semantic roles & 50–950 ramp

primary
#1A7C2D
secondary
#B0429B
accent
#40C8E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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