#1A7015#1A7015

#1A7015 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.7% C 0.147 H 142.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#1A7015
RGBrgb(26, 112, 21)
HSLhsl(117, 68%, 26%)
HSVhsv(117, 81%, 44%)
CMYKcmyk(76.8%, 0%, 81.2%, 56.1%)
CIE-LABlab(40.99, -42.73, 40.21)
CIE-LCHlch(40.99, 58.67, 136.74°)
OKLaboklab(47.73% -0.1162 0.09)
OKLCHoklch(47.73% 0.147 142.3)
XYZxyz(6.3552, 11.8614, 2.6639)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7015 #6B1570
analogous
#477015 #1A7015 #15703D
triadic
#1A7015 #151A70 #70151A
tetradic
#1A7015 #154770 #6B1570 #703D15
square
#1A7015 #154770 #6B1570 #703D15
split-complementary
#1A7015 #3D1570 #701547
monochromatic
#061A05 #0E3C0B #1A7015 #26A41F #32D729

Accessibility & contrast

On white

6.23
#1A7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#1A7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7015
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7015#FFFFFF#000000##FFFFFF
##1A70151.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1a7015;
/* rgb */ color: rgb(26, 112, 21);
/* oklch */ color: oklch(47.7% 0.147 142.3);
Tailwind
colors: {
  custom: {
    50: '#669a5a',
    500: '#1a7015',
    950: '#000000',
  },
}
SCSS
$custom: #1a7015;
$custom-light: #669a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7015",
  "rgb": {
    "r": 26,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 116.703,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47734,
    "c": 0.147,
    "h": 142.3
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#1A7015
secondary
#A03BA6
accent
#3DEBE2
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7015

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

Preview Lab → · Contrast checker → · Palette generator →

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