#1A470A#1A470A

#1A470A is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.3% C 0.101 H 139.1°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#1A470A
RGBrgb(26, 71, 10)
HSLhsl(104, 75%, 16%)
HSVhsv(104, 86%, 28%)
CMYKcmyk(63.4%, 0%, 85.9%, 72.2%)
CIE-LABlab(26.00, -27.85, 29.72)
CIE-LCHlch(26.00, 40.73, 133.14°)
OKLaboklab(35.29% -0.0767 0.0664)
OKLCHoklch(35.29% 0.101 139.1)
XYZxyz(2.7339, 4.7478, 1.0594)
Luminance0.0475 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A470A #370A47
analogous
#38470A #1A470A #0A4718
triadic
#1A470A #0A1A47 #470A1A
tetradic
#1A470A #0A3847 #370A47 #47180A
square
#1A470A #0A3847 #370A47 #47180A
split-complementary
#1A470A #180A47 #470A38
monochromatic
#0A1B04 #0A1B04 #1A470A #2E7D12 #41B219

Accessibility & contrast

On white

10.77
#1A470A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1A470A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A470A
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A470A#FFFFFF#000000##FFFFFF
##1A470A1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494000
Deuteranopia (green-blind)
#443C11
Tritanopia (blue-blind)
#15443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a470a;
/* rgb */ color: rgb(26, 71, 10);
/* oklch */ color: oklch(35.3% 0.101 139.1);
Tailwind
colors: {
  custom: {
    50: '#5d7b4e',
    500: '#1a470a',
    950: '#000000',
  },
}
SCSS
$custom: #1a470a;
$custom-light: #5d7b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a470a",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 104.262,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35289,
    "c": 0.10146,
    "h": 139.1
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#1A470A
secondary
#6C2984
accent
#36F2C1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1A470A

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

Preview Lab → · Contrast checker → · Palette generator →

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