#1A7A28#1A7A28

#1A7A28 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.146 H 145.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#1A7A28
RGBrgb(26, 122, 40)
HSLhsl(129, 65%, 29%)
HSVhsv(129, 79%, 48%)
CMYKcmyk(78.7%, 0%, 67.2%, 52.2%)
CIE-LABlab(44.65, -44.43, 36.16)
CIE-LCHlch(44.65, 57.28, 140.86°)
OKLaboklab(50.82% -0.1199 0.084)
OKLCHoklch(50.82% 0.146 145)
XYZxyz(7.7680, 14.2910, 4.3561)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7A28 #7A1A6C
analogous
#3C7A1A #1A7A28 #1A7A58
triadic
#1A7A28 #281A7A #7A281A
tetradic
#1A7A28 #1A3C7A #7A1A6C #7A581A
square
#1A7A28 #1A3C7A #7A1A6C #7A581A
split-complementary
#1A7A28 #581A7A #7A1A3C
monochromatic
#051908 #0F4817 #1A7A28 #25AC39 #39D550

Accessibility & contrast

On white

5.44
#1A7A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#1A7A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7A28
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7A28#FFFFFF#000000##FFFFFF
##1A7A281.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#71672F
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1a7a28;
/* rgb */ color: rgb(26, 122, 40);
/* oklch */ color: oklch(50.8% 0.146 145.0);
Tailwind
colors: {
  custom: {
    50: '#68a166',
    500: '#1a7a28',
    950: '#000000',
  },
}
SCSS
$custom: #1a7a28;
$custom-light: #68a166;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7a28",
  "rgb": {
    "r": 26,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 128.75,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50815,
    "c": 0.14643,
    "h": 145
  },
  "luminance": 0.14292
}

Semantic roles & 50–950 ramp

primary
#1A7A28
secondary
#AE419E
accent
#40CFE8
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7A28

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

Preview Lab → · Contrast checker → · Palette generator →

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