#1A5310#1A5310

#1A5310 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.114 H 141.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#1A5310
RGBrgb(26, 83, 16)
HSLhsl(111, 68%, 19%)
HSVhsv(111, 81%, 33%)
CMYKcmyk(68.7%, 0%, 80.7%, 67.5%)
CIE-LABlab(30.50, -32.34, 31.78)
CIE-LCHlch(30.50, 45.34, 135.50°)
OKLaboklab(39.02% -0.0884 0.0716)
OKLCHoklch(39.02% 0.114 141)
XYZxyz(3.6126, 6.4432, 1.5434)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A5310 #491053
analogous
#3C5310 #1A5310 #105328
triadic
#1A5310 #101A53 #53101A
tetradic
#1A5310 #103C53 #491053 #532810
square
#1A5310 #103C53 #491053 #532810
split-complementary
#1A5310 #281053 #53103C
monochromatic
#081A05 #0A2006 #1A5310 #2A861A #3ABA24

Accessibility & contrast

On white

9.18
#1A5310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1A5310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A5310
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A5310#FFFFFF#000000##FFFFFF
##1A53101.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B04
Deuteranopia (green-blind)
#4E4617
Tritanopia (blue-blind)
#115046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1a5310;
/* rgb */ color: rgb(26, 83, 16);
/* oklch */ color: oklch(39.0% 0.114 141.0);
Tailwind
colors: {
  custom: {
    50: '#5f8453',
    500: '#1a5310',
    950: '#000000',
  },
}
SCSS
$custom: #1a5310;
$custom-light: #5f8453;
$custom-dark: #000000;
JSON
{
  "hex": "#1a5310",
  "rgb": {
    "r": 26,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 111.045,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39023,
    "c": 0.11381,
    "h": 141
  },
  "luminance": 0.06444
}

Semantic roles & 50–950 ramp

primary
#1A5310
secondary
#7F328D
accent
#3DEBD1
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B03
muted
#797C78

Preview Lab

Preview with #1A5310

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

Preview Lab → · Contrast checker → · Palette generator →

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