#1A7B1D#1A7B1D

#1A7B1D is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.155 H 143.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1A7B1D
RGBrgb(26, 123, 29)
HSLhsl(122, 65%, 29%)
HSVhsv(122, 79%, 48%)
CMYKcmyk(78.9%, 0%, 76.4%, 51.8%)
CIE-LABlab(44.90, -45.89, 41.12)
CIE-LCHlch(44.90, 61.62, 138.13°)
OKLaboklab(51% -0.1244 0.0931)
OKLCHoklch(51% 0.155 143.2)
XYZxyz(7.7302, 14.4733, 3.5484)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7B1D #7B1A78
analogous
#487B1A #1A7B1D #1A7B4E
triadic
#1A7B1D #1D1A7B #7B1D1A
tetradic
#1A7B1D #1A487B #7B1A78 #7B4E1A
square
#1A7B1D #1A487B #7B1A78 #7B4E1A
split-complementary
#1A7B1D #4E1A7B #7B1A48
monochromatic
#051906 #0F4811 #1A7B1D #25AE29 #3AD53F

Accessibility & contrast

On white

5.39
#1A7B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#1A7B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7B1D
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7B1D#FFFFFF#000000##FFFFFF
##1A7B1D1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0B
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7b1d;
/* rgb */ color: rgb(26, 123, 29);
/* oklch */ color: oklch(51.0% 0.155 143.2);
Tailwind
colors: {
  custom: {
    50: '#69a260',
    500: '#1a7b1d',
    950: '#000000',
  },
}
SCSS
$custom: #1a7b1d;
$custom-light: #69a260;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7b1d",
  "rgb": {
    "r": 26,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 121.856,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50999,
    "c": 0.15536,
    "h": 143.2
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#1A7B1D
secondary
#AF42AC
accent
#40E3E8
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1A7B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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