#1A400F#1A400F

#1A400F is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.2% C 0.088 H 139.5°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#1A400F
RGBrgb(26, 64, 15)
HSLhsl(107, 62%, 15%)
HSVhsv(107, 77%, 25%)
CMYKcmyk(59.4%, 0%, 76.6%, 74.9%)
CIE-LABlab(23.41, -24.29, 24.91)
CIE-LCHlch(23.41, 34.79, 134.28°)
OKLaboklab(33.16% -0.0667 0.0571)
OKLCHoklch(33.16% 0.088 139.5)
XYZxyz(2.3455, 3.9207, 1.0850)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A400F #350F40
analogous
#32400F #1A400F #0F401D
triadic
#1A400F #0F1A40 #400F1A
tetradic
#1A400F #0F3240 #350F40 #401D0F
square
#1A400F #0F3240 #350F40 #401D0F
split-complementary
#1A400F #1D0F40 #400F32
monochromatic
#0A1906 #0A1906 #1A400F #2E721B #42A326

Accessibility & contrast

On white

11.77
#1A400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A400F
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A400F#FFFFFF#000000##FFFFFF
##1A400F1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A08
Deuteranopia (green-blind)
#3D3713
Tritanopia (blue-blind)
#163E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a400f;
/* rgb */ color: rgb(26, 64, 15);
/* oklch */ color: oklch(33.2% 0.088 139.5);
Tailwind
colors: {
  custom: {
    50: '#5b7550',
    500: '#1a400f',
    950: '#000000',
  },
}
SCSS
$custom: #1a400f;
$custom-light: #5b7550;
$custom-dark: #000000;
JSON
{
  "hex": "#1a400f",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 106.531,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33162,
    "c": 0.08785,
    "h": 139.5
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#1A400F
secondary
#6A307A
accent
#43E5C1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #1A400F

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

Preview Lab → · Contrast checker → · Palette generator →

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