#1A7A18#1A7A18

#1A7A18 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.157 H 142.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#1A7A18
RGBrgb(26, 122, 24)
HSLhsl(119, 67%, 29%)
HSVhsv(119, 80%, 48%)
CMYKcmyk(78.7%, 0%, 80.3%, 52.2%)
CIE-LABlab(44.52, -45.94, 42.58)
CIE-LCHlch(44.52, 62.64, 137.18°)
OKLaboklab(50.67% -0.1248 0.0954)
OKLCHoklch(50.67% 0.157 142.6)
XYZxyz(7.5499, 14.2037, 3.2077)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7A18 #78187A
analogous
#4B7A18 #1A7A18 #187A47
triadic
#1A7A18 #181A7A #7A181A
tetradic
#1A7A18 #184B7A #78187A #7A4718
square
#1A7A18 #184B7A #78187A #7A4718
split-complementary
#1A7A18 #47187A #7A184B
monochromatic
#051A05 #0F470E #1A7A18 #25AD22 #38D735

Accessibility & contrast

On white

5.47
#1A7A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#1A7A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7A18
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7A18#FFFFFF#000000##FFFFFF
##1A7A181.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1a7a18;
/* rgb */ color: rgb(26, 122, 24);
/* oklch */ color: oklch(50.7% 0.157 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a15d',
    500: '#1a7a18',
    950: '#000000',
  },
}
SCSS
$custom: #1a7a18;
$custom-light: #69a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7a18",
  "rgb": {
    "r": 26,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 118.776,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50673,
    "c": 0.15708,
    "h": 142.6
  },
  "luminance": 0.14205
}

Semantic roles & 50–950 ramp

primary
#1A7A18
secondary
#AC3FAF
accent
#3EEAE7
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1A7A18

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

Preview Lab → · Contrast checker → · Palette generator →

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