#1A7E18#1A7E18

#1A7E18 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.162 H 142.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1A7E18
RGBrgb(26, 126, 24)
HSLhsl(119, 68%, 29%)
HSVhsv(119, 81%, 49%)
CMYKcmyk(79.4%, 0%, 81%, 50.6%)
CIE-LABlab(45.92, -47.29, 43.93)
CIE-LCHlch(45.92, 64.54, 137.11°)
OKLaboklab(51.83% -0.1284 0.0982)
OKLCHoklch(51.83% 0.162 142.6)
XYZxyz(8.0512, 15.2063, 3.3748)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7E18 #7C187E
analogous
#4D7E18 #1A7E18 #187E49
triadic
#1A7E18 #181A7E #7E181A
tetradic
#1A7E18 #184D7E #7C187E #7E4918
square
#1A7E18 #184D7E #7C187E #7E4918
split-complementary
#1A7E18 #49187E #7E184D
monochromatic
#051A05 #0F4B0E #1A7E18 #25B122 #3BD937

Accessibility & contrast

On white

5.20
#1A7E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1A7E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7E18
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7E18#FFFFFF#000000##FFFFFF
##1A7E181.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1a7e18;
/* rgb */ color: rgb(26, 126, 24);
/* oklch */ color: oklch(51.8% 0.162 142.6);
Tailwind
colors: {
  custom: {
    50: '#6aa45e',
    500: '#1a7e18',
    950: '#000000',
  },
}
SCSS
$custom: #1a7e18;
$custom-light: #6aa45e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7e18",
  "rgb": {
    "r": 26,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 118.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5183,
    "c": 0.16168,
    "h": 142.6
  },
  "luminance": 0.15207
}

Semantic roles & 50–950 ramp

primary
#1A7E18
secondary
#B03FB2
accent
#3DEBE7
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1A7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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