#1A7915#1A7915

#1A7915 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.157 H 142.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#1A7915
RGBrgb(26, 121, 21)
HSLhsl(117, 70%, 28%)
HSVhsv(117, 83%, 47%)
CMYKcmyk(78.5%, 0%, 82.6%, 52.5%)
CIE-LABlab(44.16, -45.82, 43.24)
CIE-LCHlch(44.16, 62.99, 136.66°)
OKLaboklab(50.36% -0.1246 0.0963)
OKLCHoklch(50.36% 0.157 142.3)
XYZxyz(7.3983, 13.9476, 3.0116)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7915 #741579
analogous
#4C7915 #1A7915 #157942
triadic
#1A7915 #151A79 #79151A
tetradic
#1A7915 #154C79 #741579 #794215
square
#1A7915 #154C79 #741579 #794215
split-complementary
#1A7915 #421579 #79154C
monochromatic
#061A05 #0F450C #1A7915 #25AD1E #36DB2E

Accessibility & contrast

On white

5.54
#1A7915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#1A7915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7915
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7915#FFFFFF#000000##FFFFFF
##1A79151.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#716621
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1a7915;
/* rgb */ color: rgb(26, 121, 21);
/* oklch */ color: oklch(50.4% 0.157 142.3);
Tailwind
colors: {
  custom: {
    50: '#69a15c',
    500: '#1a7915',
    950: '#000000',
  },
}
SCSS
$custom: #1a7915;
$custom-light: #69a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7915",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 117,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50363,
    "c": 0.15748,
    "h": 142.3
  },
  "luminance": 0.13948
}

Semantic roles & 50–950 ramp

primary
#1A7915
secondary
#A93BAF
accent
#3BEDE4
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #1A7915

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

Preview Lab → · Contrast checker → · Palette generator →

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