#1A400B#1A400B

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

Color values

HEX#1A400B
RGBrgb(26, 64, 11)
HSLhsl(103, 71%, 15%)
HSVhsv(103, 83%, 25%)
CMYKcmyk(59.4%, 0%, 82.8%, 74.9%)
CIE-LABlab(23.37, -24.68, 26.72)
CIE-LCHlch(23.37, 36.37, 132.72°)
OKLaboklab(33.12% -0.0681 0.0603)
OKLCHoklch(33.12% 0.091 138.5)
XYZxyz(2.3197, 3.9104, 0.9491)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A400B #310B40
analogous
#35400B #1A400B #0B4017
triadic
#1A400B #0B1A40 #400B1A
tetradic
#1A400B #0B3540 #310B40 #40170B
square
#1A400B #0B3540 #310B40 #40170B
split-complementary
#1A400B #170B40 #400B35
monochromatic
#0B1A04 #0B1A04 #1A400B #2F7414 #44A81D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A400B#FFFFFF#000000##FFFFFF
##1A400B1.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)
#423A03
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#173D36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a400b;
/* rgb */ color: rgb(26, 64, 11);
/* oklch */ color: oklch(33.1% 0.091 138.5);
Tailwind
colors: {
  custom: {
    50: '#5b754e',
    500: '#1a400b',
    950: '#000000',
  },
}
SCSS
$custom: #1a400b;
$custom-light: #5b754e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a400b",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 103.019,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33122,
    "c": 0.09095,
    "h": 138.5
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#1A400B
secondary
#652A7D
accent
#3AEDBB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #1A400B

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

Preview Lab → · Contrast checker → · Palette generator →

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