#1A470F#1A470F

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

Color values

HEX#1A470F
RGBrgb(26, 71, 15)
HSLhsl(108, 65%, 17%)
HSVhsv(108, 79%, 28%)
CMYKcmyk(63.4%, 0%, 78.9%, 72.2%)
CIE-LABlab(26.04, -27.43, 27.67)
CIE-LCHlch(26.04, 38.96, 134.75°)
OKLaboklab(35.33% -0.0752 0.0629)
OKLCHoklch(35.33% 0.098 140.1)
XYZxyz(2.7653, 4.7603, 1.2250)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A470F #3C0F47
analogous
#36470F #1A470F #0F4720
triadic
#1A470F #0F1A47 #470F1A
tetradic
#1A470F #0F3647 #3C0F47 #47200F
square
#1A470F #0F3647 #3C0F47 #47200F
split-complementary
#1A470F #200F47 #470F36
monochromatic
#091905 #091905 #1A470F #2D7A1A #3FAC24

Accessibility & contrast

On white

10.76
#1A470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A470F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A470F#FFFFFF#000000##FFFFFF
##1A470F1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494006
Deuteranopia (green-blind)
#433C14
Tritanopia (blue-blind)
#15443C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a470f;
/* rgb */ color: rgb(26, 71, 15);
/* oklch */ color: oklch(35.3% 0.098 140.1);
Tailwind
colors: {
  custom: {
    50: '#5d7b51',
    500: '#1a470f',
    950: '#000000',
  },
}
SCSS
$custom: #1a470f;
$custom-light: #5d7b51;
$custom-dark: #000000;
JSON
{
  "hex": "#1a470f",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 108.214,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35332,
    "c": 0.09808,
    "h": 140.1
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#1A470F
secondary
#723081
accent
#40E8C7
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #1A470F

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

Preview Lab → · Contrast checker → · Palette generator →

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