#1A7E28#1A7E28

#1A7E28 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.151 H 144.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1A7E28
RGBrgb(26, 126, 40)
HSLhsl(128, 66%, 30%)
HSVhsv(128, 79%, 49%)
CMYKcmyk(79.4%, 0%, 68.3%, 50.6%)
CIE-LABlab(46.03, -45.83, 37.69)
CIE-LCHlch(46.03, 59.34, 140.57°)
OKLaboklab(51.97% -0.1237 0.0873)
OKLCHoklch(51.97% 0.151 144.8)
XYZxyz(8.2693, 15.2935, 4.5232)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7E28 #7E1A70
analogous
#3E7E1A #1A7E28 #1A7E5A
triadic
#1A7E28 #281A7E #7E281A
tetradic
#1A7E28 #1A3E7E #7E1A70 #7E5A1A
square
#1A7E28 #1A3E7E #7E1A70 #7E5A1A
split-complementary
#1A7E28 #5A1A7E #7E1A3E
monochromatic
#051908 #104B18 #1A7E28 #24B138 #3CD751

Accessibility & contrast

On white

5.17
#1A7E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1A7E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7E28
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7E28#FFFFFF#000000##FFFFFF
##1A7E281.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721D
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1a7e28;
/* rgb */ color: rgb(26, 126, 40);
/* oklch */ color: oklch(52.0% 0.151 144.8);
Tailwind
colors: {
  custom: {
    50: '#69a466',
    500: '#1a7e28',
    950: '#000000',
  },
}
SCSS
$custom: #1a7e28;
$custom-light: #69a466;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7e28",
  "rgb": {
    "r": 26,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 128.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51966,
    "c": 0.15141,
    "h": 144.8
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#1A7E28
secondary
#B242A2
accent
#3FD1E9
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1A7E28

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

Preview Lab → · Contrast checker → · Palette generator →

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