#1A7415#1A7415

#1A7415 is a mid, vivid green. Relative luminance 0.128; OKLCH L 48.9% C 0.152 H 142.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1A7415
RGBrgb(26, 116, 21)
HSLhsl(117, 69%, 27%)
HSVhsv(117, 82%, 45%)
CMYKcmyk(77.6%, 0%, 81.9%, 54.5%)
CIE-LABlab(42.41, -44.11, 41.57)
CIE-LCHlch(42.41, 60.61, 136.70°)
OKLaboklab(48.91% -0.12 0.0928)
OKLCHoklch(48.91% 0.152 142.3)
XYZxyz(6.8063, 12.7638, 2.8143)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7415 #6F1574
analogous
#4A7415 #1A7415 #157440
triadic
#1A7415 #151A74 #74151A
tetradic
#1A7415 #154A74 #6F1574 #744015
square
#1A7415 #154A74 #6F1574 #744015
split-complementary
#1A7415 #401574 #74154A
monochromatic
#061A05 #0E400C #1A7415 #26A81E #34D92B

Accessibility & contrast

On white

5.91
#1A7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#1A7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7415
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7415#FFFFFF#000000##FFFFFF
##1A74151.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6D6120
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1a7415;
/* rgb */ color: rgb(26, 116, 21);
/* oklch */ color: oklch(48.9% 0.152 142.3);
Tailwind
colors: {
  custom: {
    50: '#689d5b',
    500: '#1a7415',
    950: '#000000',
  },
}
SCSS
$custom: #1a7415;
$custom-light: #689d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7415",
  "rgb": {
    "r": 26,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 116.842,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48906,
    "c": 0.1517,
    "h": 142.3
  },
  "luminance": 0.12765
}

Semantic roles & 50–950 ramp

primary
#1A7415
secondary
#A43BAA
accent
#3CECE3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7415

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

Preview Lab → · Contrast checker → · Palette generator →

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