#1A470C#1A470C

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

Color values

HEX#1A470C
RGBrgb(26, 71, 12)
HSLhsl(106, 71%, 16%)
HSVhsv(106, 83%, 28%)
CMYKcmyk(63.4%, 0%, 83.1%, 72.2%)
CIE-LABlab(26.02, -27.70, 28.94)
CIE-LCHlch(26.02, 40.06, 133.74°)
OKLaboklab(35.31% -0.0762 0.0651)
OKLCHoklch(35.31% 0.1 139.5)
XYZxyz(2.7455, 4.7524, 1.1204)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A470C #390C47
analogous
#38470C #1A470C #0C471C
triadic
#1A470C #0C1A47 #470C1A
tetradic
#1A470C #0C3847 #390C47 #471C0C
square
#1A470C #0C3847 #390C47 #471C0C
split-complementary
#1A470C #1C0C47 #470C38
monochromatic
#0A1A04 #0A1A04 #1A470C #2D7B15 #40B01E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A470C#FFFFFF#000000##FFFFFF
##1A470C1.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)
#494003
Deuteranopia (green-blind)
#443C12
Tritanopia (blue-blind)
#15443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a470c;
/* rgb */ color: rgb(26, 71, 12);
/* oklch */ color: oklch(35.3% 0.100 139.5);
Tailwind
colors: {
  custom: {
    50: '#5d7b4f',
    500: '#1a470c',
    950: '#000000',
  },
}
SCSS
$custom: #1a470c;
$custom-light: #5d7b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a470c",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 105.763,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35305,
    "c": 0.10019,
    "h": 139.5
  },
  "luminance": 0.04753
}

Semantic roles & 50–950 ramp

primary
#1A470C
secondary
#6E2C83
accent
#3AEEC3
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #1A470C

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

Preview Lab → · Contrast checker → · Palette generator →

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