#1A400C#1A400C

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

Color values

HEX#1A400C
RGBrgb(26, 64, 12)
HSLhsl(104, 68%, 15%)
HSVhsv(104, 81%, 25%)
CMYKcmyk(59.4%, 0%, 81.2%, 74.9%)
CIE-LABlab(23.38, -24.59, 26.29)
CIE-LCHlch(23.38, 36.00, 133.08°)
OKLaboklab(33.13% -0.0678 0.0596)
OKLCHoklch(33.13% 0.09 138.7)
XYZxyz(2.3257, 3.9128, 0.9804)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A400C #320C40
analogous
#34400C #1A400C #0C4018
triadic
#1A400C #0C1A40 #400C1A
tetradic
#1A400C #0C3440 #320C40 #40180C
square
#1A400C #0C3440 #320C40 #40180C
split-complementary
#1A400C #180C40 #400C34
monochromatic
#0A1A05 #0A1A05 #1A400C #2F7416 #44A71F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A400C#FFFFFF#000000##FFFFFF
##1A400C1.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)
#423A04
Deuteranopia (green-blind)
#3D3711
Tritanopia (blue-blind)
#173E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a400c;
/* rgb */ color: rgb(26, 64, 12);
/* oklch */ color: oklch(33.1% 0.090 138.7);
Tailwind
colors: {
  custom: {
    50: '#5b754e',
    500: '#1a400c',
    950: '#000000',
  },
}
SCSS
$custom: #1a400c;
$custom-light: #5b754e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a400c",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 103.846,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33131,
    "c": 0.09023,
    "h": 138.7
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#1A400C
secondary
#662C7C
accent
#3DEBBC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #1A400C

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

Preview Lab → · Contrast checker → · Palette generator →

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