#1A400D#1A400D

#1A400D is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.1% C 0.089 H 138.9°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#1A400D
RGBrgb(26, 64, 13)
HSLhsl(105, 66%, 15%)
HSVhsv(105, 80%, 25%)
CMYKcmyk(59.4%, 0%, 79.7%, 74.9%)
CIE-LABlab(23.39, -24.49, 25.84)
CIE-LCHlch(23.39, 35.60, 133.47°)
OKLaboklab(33.14% -0.0674 0.0588)
OKLCHoklch(33.14% 0.089 138.9)
XYZxyz(2.3320, 3.9153, 1.0135)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A400D #330D40
analogous
#33400D #1A400D #0D4019
triadic
#1A400D #0D1A40 #400D1A
tetradic
#1A400D #0D3340 #330D40 #40190D
square
#1A400D #0D3340 #330D40 #40190D
split-complementary
#1A400D #190D40 #400D33
monochromatic
#0A1905 #0A1905 #1A400D #2F7317 #43A622

Accessibility & contrast

On white

11.78
#1A400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1A400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A400D
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A400D#FFFFFF#000000##FFFFFF
##1A400D1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A06
Deuteranopia (green-blind)
#3D3712
Tritanopia (blue-blind)
#173E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a400d;
/* rgb */ color: rgb(26, 64, 13);
/* oklch */ color: oklch(33.1% 0.089 138.9);
Tailwind
colors: {
  custom: {
    50: '#5b754f',
    500: '#1a400d',
    950: '#000000',
  },
}
SCSS
$custom: #1a400d;
$custom-light: #5b754f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a400d",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 104.706,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33141,
    "c": 0.08946,
    "h": 138.9
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#1A400D
secondary
#682D7C
accent
#3FE9BE
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #1A400D

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

Preview Lab → · Contrast checker → · Palette generator →

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