#1C540F#1C540F

#1C540F is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.115 H 140.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#1C540F
RGBrgb(28, 84, 15)
HSLhsl(109, 70%, 19%)
HSVhsv(109, 82%, 33%)
CMYKcmyk(66.7%, 0%, 82.1%, 67.1%)
CIE-LABlab(30.93, -32.29, 32.62)
CIE-LCHlch(30.93, 45.90, 134.71°)
OKLaboklab(39.39% -0.0885 0.0732)
OKLCHoklch(39.39% 0.115 140.4)
XYZxyz(3.7353, 6.6217, 1.5331)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C540F #470F54
analogous
#3F540F #1C540F #0F5425
triadic
#1C540F #0F1C54 #540F1C
tetradic
#1C540F #0F3F54 #470F54 #54250F
square
#1C540F #0F3F54 #470F54 #54250F
split-complementary
#1C540F #250F54 #540F3F
monochromatic
#091A05 #0B2006 #1C540F #2D8818 #3FBC22

Accessibility & contrast

On white

9.03
#1C540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C540F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C540F#FFFFFF#000000##FFFFFF
##1C540F1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C02
Deuteranopia (green-blind)
#504717
Tritanopia (blue-blind)
#145147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1c540f;
/* rgb */ color: rgb(28, 84, 15);
/* oklch */ color: oklch(39.4% 0.115 140.4);
Tailwind
colors: {
  custom: {
    50: '#618553',
    500: '#1c540f',
    950: '#000000',
  },
}
SCSS
$custom: #1c540f;
$custom-light: #618553;
$custom-dark: #000000;
JSON
{
  "hex": "#1c540f",
  "rgb": {
    "r": 28,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 108.696,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39391,
    "c": 0.11487,
    "h": 140.4
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#1C540F
secondary
#7C318E
accent
#3BEDCB
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1C540F

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

Preview Lab → · Contrast checker → · Palette generator →

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