#1A470B#1A470B

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

Color values

HEX#1A470B
RGBrgb(26, 71, 11)
HSLhsl(105, 73%, 16%)
HSVhsv(105, 85%, 28%)
CMYKcmyk(63.4%, 0%, 84.5%, 72.2%)
CIE-LABlab(26.01, -27.78, 29.34)
CIE-LCHlch(26.01, 40.40, 133.43°)
OKLaboklab(35.3% -0.0765 0.0658)
OKLCHoklch(35.3% 0.101 139.3)
XYZxyz(2.7395, 4.7500, 1.0890)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A470B #380B47
analogous
#38470B #1A470B #0B471A
triadic
#1A470B #0B1A47 #470B1A
tetradic
#1A470B #0B3847 #380B47 #471A0B
square
#1A470B #0B3847 #380B47 #471A0B
split-complementary
#1A470B #1A0B47 #470B38
monochromatic
#0A1A04 #0A1A04 #1A470B #2D7C13 #41B11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1a470b;
/* rgb */ color: rgb(26, 71, 11);
/* oklch */ color: oklch(35.3% 0.101 139.3);
Tailwind
colors: {
  custom: {
    50: '#5d7b4f',
    500: '#1a470b',
    950: '#000000',
  },
}
SCSS
$custom: #1a470b;
$custom-light: #5d7b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a470b",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 105,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35297,
    "c": 0.10085,
    "h": 139.3
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#1A470B
secondary
#6D2A83
accent
#38F0C2
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #1A470B

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

Preview Lab → · Contrast checker → · Palette generator →

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