#1A6718#1A6718

#1A6718 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.134 H 142.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#1A6718
RGBrgb(26, 103, 24)
HSLhsl(118, 62%, 25%)
HSVhsv(118, 77%, 40%)
CMYKcmyk(74.8%, 0%, 76.7%, 59.6%)
CIE-LABlab(37.82, -39.27, 35.91)
CIE-LCHlch(37.82, 53.21, 137.56°)
OKLaboklab(45.1% -0.1067 0.0815)
OKLCHoklch(45.1% 0.134 142.6)
XYZxyz(5.4408, 9.9855, 2.5046)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A6718 #651867
analogous
#426718 #1A6718 #18673E
triadic
#1A6718 #181A67 #67181A
tetradic
#1A6718 #184267 #651867 #673E18
square
#1A6718 #184267 #651867 #673E18
split-complementary
#1A6718 #3E1867 #671842
monochromatic
#061906 #0D350C #1A6718 #279924 #33CA2F

Accessibility & contrast

On white

7.01
#1A6718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#1A6718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A6718
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A6718#FFFFFF#000000##FFFFFF
##1A67181.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0A
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#036458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1a6718;
/* rgb */ color: rgb(26, 103, 24);
/* oklch */ color: oklch(45.1% 0.134 142.6);
Tailwind
colors: {
  custom: {
    50: '#64935a',
    500: '#1a6718',
    950: '#000000',
  },
}
SCSS
$custom: #1a6718;
$custom-light: #64935a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a6718",
  "rgb": {
    "r": 26,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 118.481,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45102,
    "c": 0.13426,
    "h": 142.6
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#1A6718
secondary
#9B3E9D
accent
#43E5E1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1A6718

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

Preview Lab → · Contrast checker → · Palette generator →

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