#1A540F#1A540F

#1A540F is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.116 H 140.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#1A540F
RGBrgb(26, 84, 15)
HSLhsl(110, 70%, 19%)
HSVhsv(110, 82%, 33%)
CMYKcmyk(69%, 0%, 82.1%, 67.1%)
CIE-LABlab(30.87, -32.82, 32.53)
CIE-LCHlch(30.87, 46.21, 135.25°)
OKLaboklab(39.32% -0.0898 0.0731)
OKLCHoklch(39.32% 0.116 140.9)
XYZxyz(3.6824, 6.5944, 1.5306)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A540F #490F54
analogous
#3D540F #1A540F #0F5427
triadic
#1A540F #0F1A54 #540F1A
tetradic
#1A540F #0F3D54 #490F54 #54270F
square
#1A540F #0F3D54 #490F54 #54270F
split-complementary
#1A540F #270F54 #540F3D
monochromatic
#081A05 #0A2006 #1A540F #2A8818 #3ABC22

Accessibility & contrast

On white

9.06
#1A540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1A540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A540F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A540F#FFFFFF#000000##FFFFFF
##1A540F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C02
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#105147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1a540f;
/* rgb */ color: rgb(26, 84, 15);
/* oklch */ color: oklch(39.3% 0.116 140.9);
Tailwind
colors: {
  custom: {
    50: '#608553',
    500: '#1a540f',
    950: '#000000',
  },
}
SCSS
$custom: #1a540f;
$custom-light: #608553;
$custom-dark: #000000;
JSON
{
  "hex": "#1a540f",
  "rgb": {
    "r": 26,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 110.435,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3932,
    "c": 0.11576,
    "h": 140.9
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#1A540F
secondary
#7F318E
accent
#3BEDD0
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B03
muted
#797C78

Preview Lab

Preview with #1A540F

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

Preview Lab → · Contrast checker → · Palette generator →

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