#1A7315#1A7315

#1A7315 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.151 H 142.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#1A7315
RGBrgb(26, 115, 21)
HSLhsl(117, 69%, 27%)
HSVhsv(117, 82%, 45%)
CMYKcmyk(77.4%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.05, -43.77, 41.23)
CIE-LCHlch(42.05, 60.13, 136.71°)
OKLaboklab(48.61% -0.1191 0.0921)
OKLCHoklch(48.61% 0.151 142.3)
XYZxyz(6.6917, 12.5345, 2.7760)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A7315 #6E1573
analogous
#497315 #1A7315 #15733F
triadic
#1A7315 #151A73 #73151A
tetradic
#1A7315 #154973 #6E1573 #733F15
square
#1A7315 #154973 #6E1573 #733F15
split-complementary
#1A7315 #3F1573 #731549
monochromatic
#061A05 #0E3F0C #1A7315 #26A71E #33D82A

Accessibility & contrast

On white

5.99
#1A7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#1A7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A7315
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A7315#FFFFFF#000000##FFFFFF
##1A73151.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1a7315;
/* rgb */ color: rgb(26, 115, 21);
/* oklch */ color: oklch(48.6% 0.151 142.3);
Tailwind
colors: {
  custom: {
    50: '#679c5b',
    500: '#1a7315',
    950: '#000000',
  },
}
SCSS
$custom: #1a7315;
$custom-light: #679c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a7315",
  "rgb": {
    "r": 26,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 116.809,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48614,
    "c": 0.15054,
    "h": 142.3
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#1A7315
secondary
#A33BA9
accent
#3CECE3
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1A7315

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

Preview Lab → · Contrast checker → · Palette generator →

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