#1A4E17#1A4E17

#1A4E17 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.102 H 142.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#1A4E17
RGBrgb(26, 78, 23)
HSLhsl(117, 54%, 20%)
HSVhsv(117, 71%, 31%)
CMYKcmyk(66.7%, 0%, 70.5%, 69.4%)
CIE-LABlab(28.72, -29.56, 26.71)
CIE-LCHlch(28.72, 39.84, 137.91°)
OKLaboklab(37.57% -0.0805 0.062)
OKLCHoklch(37.57% 0.102 142.4)
XYZxyz(3.3049, 5.7299, 1.7423)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4E17 #4B174E
analogous
#364E17 #1A4E17 #174E2F
triadic
#1A4E17 #171A4E #4E171A
tetradic
#1A4E17 #17364E #4B174E #4E2F17
square
#1A4E17 #17364E #4B174E #4E2F17
split-complementary
#1A4E17 #2F174E #4E1736
monochromatic
#081807 #0A1F09 #1A4E17 #2A7D25 #3AAD33

Accessibility & contrast

On white

9.79
#1A4E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1A4E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4E17
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4E17#FFFFFF#000000##FFFFFF
##1A4E171.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504610
Deuteranopia (green-blind)
#49421C
Tritanopia (blue-blind)
#114C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4e17;
/* rgb */ color: rgb(26, 78, 23);
/* oklch */ color: oklch(37.6% 0.102 142.4);
Tailwind
colors: {
  custom: {
    50: '#5e8057',
    500: '#1a4e17',
    950: '#000000',
  },
}
SCSS
$custom: #1a4e17;
$custom-light: #5e8057;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4e17",
  "rgb": {
    "r": 26,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 116.727,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37568,
    "c": 0.10159,
    "h": 142.4
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#1A4E17
secondary
#813C85
accent
#4ADED6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #1A4E17

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

Preview Lab → · Contrast checker → · Palette generator →

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