#1A7C15#1A7C15

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

Color values

HEX#1A7C15
RGBrgb(26, 124, 21)
HSLhsl(117, 71%, 28%)
HSVhsv(117, 83%, 49%)
CMYKcmyk(79%, 0%, 83.1%, 51.4%)
CIE-LABlab(45.20, -46.82, 44.23)
CIE-LCHlch(45.20, 64.41, 136.63°)
OKLaboklab(51.23% -0.1273 0.0984)
OKLCHoklch(51.23% 0.161 142.3)
XYZxyz(7.7685, 14.6882, 3.1350)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7C15 #77157C
analogous
#4D7C15 #1A7C15 #157C43
triadic
#1A7C15 #151A7C #7C151A
tetradic
#1A7C15 #154D7C #77157C #7C4315
square
#1A7C15 #154D7C #77157C #7C4315
split-complementary
#1A7C15 #43157C #7C154D
monochromatic
#051A04 #0F480C #1A7C15 #25B01E #38DC30

Accessibility & contrast

On white

5.33
#1A7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#1A7C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7C15
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7C15#FFFFFF#000000##FFFFFF
##1A7C151.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1a7c15;
/* rgb */ color: rgb(26, 124, 21);
/* oklch */ color: oklch(51.2% 0.161 142.3);
Tailwind
colors: {
  custom: {
    50: '#6aa35c',
    500: '#1a7c15',
    950: '#000000',
  },
}
SCSS
$custom: #1a7c15;
$custom-light: #6aa35c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7c15",
  "rgb": {
    "r": 26,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 117.087,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51233,
    "c": 0.16089,
    "h": 142.3
  },
  "luminance": 0.14689
}

Semantic roles & 50–950 ramp

primary
#1A7C15
secondary
#AC3CB1
accent
#3AEEE5
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1A7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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