#1A460F#1A460F

#1A460F is a dark, moderate green. Relative luminance 0.046; OKLCH L 35.0% C 0.097 H 140.0°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#1A460F
RGBrgb(26, 70, 15)
HSLhsl(108, 65%, 17%)
HSVhsv(108, 79%, 27%)
CMYKcmyk(62.9%, 0%, 78.6%, 72.5%)
CIE-LABlab(25.67, -26.99, 27.28)
CIE-LCHlch(25.67, 38.38, 134.69°)
OKLaboklab(35.02% -0.0741 0.0621)
OKLCHoklch(35.02% 0.097 140)
XYZxyz(2.7023, 4.6342, 1.2039)
Luminance0.0463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A460F #3B0F46
analogous
#36460F #1A460F #0F4620
triadic
#1A460F #0F1A46 #460F1A
tetradic
#1A460F #0F3646 #3B0F46 #46200F
square
#1A460F #0F3646 #3B0F46 #46200F
split-complementary
#1A460F #200F46 #460F36
monochromatic
#091905 #091905 #1A460F #2D781A #3FAB25

Accessibility & contrast

On white

10.90
#1A460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1A460F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A460F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A460F#FFFFFF#000000##FFFFFF
##1A460F1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F07
Deuteranopia (green-blind)
#433B14
Tritanopia (blue-blind)
#15433B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a460f;
/* rgb */ color: rgb(26, 70, 15);
/* oklch */ color: oklch(35.0% 0.097 140.0);
Tailwind
colors: {
  custom: {
    50: '#5c7a51',
    500: '#1a460f',
    950: '#000000',
  },
}
SCSS
$custom: #1a460f;
$custom-light: #5c7a51;
$custom-dark: #000000;
JSON
{
  "hex": "#1a460f",
  "rgb": {
    "r": 26,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 108,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35023,
    "c": 0.09665,
    "h": 140
  },
  "luminance": 0.04634
}

Semantic roles & 50–950 ramp

primary
#1A460F
secondary
#703080
accent
#40E8C6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #1A460F

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

Preview Lab → · Contrast checker → · Palette generator →

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