#1A450C#1A450C

#1A450C is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.7% C 0.097 H 139.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#1A450C
RGBrgb(26, 69, 12)
HSLhsl(105, 70%, 16%)
HSVhsv(105, 83%, 27%)
CMYKcmyk(62.3%, 0%, 82.6%, 72.9%)
CIE-LABlab(25.27, -26.83, 28.19)
CIE-LCHlch(25.27, 38.92, 133.58°)
OKLaboklab(34.69% -0.0738 0.0635)
OKLCHoklch(34.69% 0.097 139.3)
XYZxyz(2.6204, 4.5022, 1.0787)
Luminance0.0450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A450C #370C45
analogous
#36450C #1A450C #0C451A
triadic
#1A450C #0C1A45 #450C1A
tetradic
#1A450C #0C3645 #370C45 #451A0C
square
#1A450C #0C3645 #370C45 #451A0C
split-complementary
#1A450C #1A0C45 #450C36
monochromatic
#0A1A05 #0A1A05 #1A450C #2E7915 #41AD1E

Accessibility & contrast

On white

11.05
#1A450C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1A450C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A450C
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A450C#FFFFFF#000000##FFFFFF
##1A450C1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E03
Deuteranopia (green-blind)
#423B12
Tritanopia (blue-blind)
#15423A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a450c;
/* rgb */ color: rgb(26, 69, 12);
/* oklch */ color: oklch(34.7% 0.097 139.3);
Tailwind
colors: {
  custom: {
    50: '#5c794f',
    500: '#1a450c',
    950: '#000000',
  },
}
SCSS
$custom: #1a450c;
$custom-light: #5c794f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a450c",
  "rgb": {
    "r": 26,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 105.263,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34686,
    "c": 0.0974,
    "h": 139.3
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#1A450C
secondary
#6C2C81
accent
#3BEDC1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #1A450C

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

Preview Lab → · Contrast checker → · Palette generator →

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