#1A7D15#1A7D15

#1A7D15 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.162 H 142.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#1A7D15
RGBrgb(26, 125, 21)
HSLhsl(117, 71%, 29%)
HSVhsv(117, 83%, 49%)
CMYKcmyk(79.2%, 0%, 83.2%, 51%)
CIE-LABlab(45.55, -47.16, 44.55)
CIE-LCHlch(45.55, 64.87, 136.63°)
OKLaboklab(51.52% -0.1282 0.0991)
OKLCHoklch(51.52% 0.162 142.3)
XYZxyz(7.8945, 14.9401, 3.1770)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7D15 #78157D
analogous
#4E7D15 #1A7D15 #157D44
triadic
#1A7D15 #151A7D #7D151A
tetradic
#1A7D15 #154E7D #78157D #7D4415
square
#1A7D15 #154E7D #78157D #7D4415
split-complementary
#1A7D15 #44157D #7D154E
monochromatic
#051A04 #0F490C #1A7D15 #25B11E #38DC30

Accessibility & contrast

On white

5.27
#1A7D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#1A7D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7D15
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7D15#FFFFFF#000000##FFFFFF
##1A7D151.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1a7d15;
/* rgb */ color: rgb(26, 125, 21);
/* oklch */ color: oklch(51.5% 0.162 142.3);
Tailwind
colors: {
  custom: {
    50: '#6aa45c',
    500: '#1a7d15',
    950: '#000000',
  },
}
SCSS
$custom: #1a7d15;
$custom-light: #6aa45c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7d15",
  "rgb": {
    "r": 26,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 117.115,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.16204,
    "h": 142.3
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

primary
#1A7D15
secondary
#AC3CB2
accent
#3AEEE5
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #1A7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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