#1A6815#1A6815

#1A6815 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.137 H 142.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#1A6815
RGBrgb(26, 104, 21)
HSLhsl(116, 66%, 25%)
HSVhsv(116, 80%, 41%)
CMYKcmyk(75%, 0%, 79.8%, 59.2%)
CIE-LABlab(38.15, -39.89, 37.43)
CIE-LCHlch(38.15, 54.70, 136.82°)
OKLaboklab(45.37% -0.1086 0.0842)
OKLCHoklch(45.37% 0.137 142.2)
XYZxyz(5.5114, 10.1738, 2.3826)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6815 #631568
analogous
#436815 #1A6815 #15683A
triadic
#1A6815 #151A68 #68151A
tetradic
#1A6815 #154368 #631568 #683A15
square
#1A6815 #154368 #631568 #683A15
split-complementary
#1A6815 #3A1568 #681543
monochromatic
#061905 #0D350B #1A6815 #279B1F #33CE2A

Accessibility & contrast

On white

6.92
#1A6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#1A6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A6815
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6815#FFFFFF#000000##FFFFFF
##1A68151.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E04
Deuteranopia (green-blind)
#62571E
Tritanopia (blue-blind)
#036558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1a6815;
/* rgb */ color: rgb(26, 104, 21);
/* oklch */ color: oklch(45.4% 0.137 142.2);
Tailwind
colors: {
  custom: {
    50: '#649459',
    500: '#1a6815',
    950: '#000000',
  },
}
SCSS
$custom: #1a6815;
$custom-light: #649459;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6815",
  "rgb": {
    "r": 26,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 116.386,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45374,
    "c": 0.13738,
    "h": 142.2
  },
  "luminance": 0.10174
}

Semantic roles & 50–950 ramp

primary
#1A6815
secondary
#993A9F
accent
#3EE9DF
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1A6815

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

Preview Lab → · Contrast checker → · Palette generator →

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