#1A7515#1A7515

#1A7515 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.2% C 0.153 H 142.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#1A7515
RGBrgb(26, 117, 21)
HSLhsl(117, 70%, 27%)
HSVhsv(117, 82%, 46%)
CMYKcmyk(77.8%, 0%, 82.1%, 54.1%)
CIE-LABlab(42.76, -44.46, 41.90)
CIE-LCHlch(42.76, 61.09, 136.69°)
OKLaboklab(49.2% -0.1209 0.0935)
OKLCHoklch(49.2% 0.153 142.3)
XYZxyz(6.9222, 12.9955, 2.8529)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7515 #701575
analogous
#4A7515 #1A7515 #157540
triadic
#1A7515 #151A75 #75151A
tetradic
#1A7515 #154A75 #701575 #754015
square
#1A7515 #154A75 #701575 #754015
split-complementary
#1A7515 #401575 #75154A
monochromatic
#061A05 #0E410C #1A7515 #26A91E #34D92B

Accessibility & contrast

On white

5.83
#1A7515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#1A7515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7515
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7515#FFFFFF#000000##FFFFFF
##1A75151.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1a7515;
/* rgb */ color: rgb(26, 117, 21);
/* oklch */ color: oklch(49.2% 0.153 142.3);
Tailwind
colors: {
  custom: {
    50: '#689e5b',
    500: '#1a7515',
    950: '#000000',
  },
}
SCSS
$custom: #1a7515;
$custom-light: #689e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7515",
  "rgb": {
    "r": 26,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 116.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49198,
    "c": 0.15286,
    "h": 142.3
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#1A7515
secondary
#A53BAB
accent
#3BECE3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7515

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

Preview Lab → · Contrast checker → · Palette generator →

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