#1A420C#1A420C

#1A420C is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.8% C 0.093 H 138.9°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#1A420C
RGBrgb(26, 66, 12)
HSLhsl(104, 69%, 15%)
HSVhsv(104, 82%, 26%)
CMYKcmyk(60.6%, 0%, 81.8%, 74.1%)
CIE-LABlab(24.14, -25.49, 27.06)
CIE-LCHlch(24.14, 37.18, 133.30°)
OKLaboklab(33.75% -0.0702 0.0612)
OKLCHoklch(33.75% 0.093 138.9)
XYZxyz(2.4405, 4.1424, 1.0187)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A420C #340C42
analogous
#35420C #1A420C #0C4219
triadic
#1A420C #0C1A42 #420C1A
tetradic
#1A420C #0C3542 #340C42 #42190C
square
#1A420C #0C3542 #340C42 #42190C
split-complementary
#1A420C #190C42 #420C35
monochromatic
#0A1A05 #0A1A05 #1A420C #2E7615 #43AA1F

Accessibility & contrast

On white

11.48
#1A420C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1A420C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A420C
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A420C#FFFFFF#000000##FFFFFF
##1A420C1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B04
Deuteranopia (green-blind)
#3F3811
Tritanopia (blue-blind)
#163F37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a420c;
/* rgb */ color: rgb(26, 66, 12);
/* oklch */ color: oklch(33.8% 0.093 138.9);
Tailwind
colors: {
  custom: {
    50: '#5c774f',
    500: '#1a420c',
    950: '#000000',
  },
}
SCSS
$custom: #1a420c;
$custom-light: #5c774f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a420c",
  "rgb": {
    "r": 26,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 104.444,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33754,
    "c": 0.09313,
    "h": 138.9
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#1A420C
secondary
#692C7E
accent
#3CECBE
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #1A420C

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

Preview Lab → · Contrast checker → · Palette generator →

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