#1C540E#1C540E

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

Color values

HEX#1C540E
RGBrgb(28, 84, 14)
HSLhsl(108, 71%, 19%)
HSVhsv(108, 83%, 33%)
CMYKcmyk(66.7%, 0%, 83.3%, 67.1%)
CIE-LABlab(30.92, -32.37, 32.99)
CIE-LCHlch(30.92, 46.22, 134.45°)
OKLaboklab(39.38% -0.0888 0.0739)
OKLCHoklch(39.38% 0.115 140.2)
XYZxyz(3.7283, 6.6189, 1.4965)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C540E #460E54
analogous
#3F540E #1C540E #0E5423
triadic
#1C540E #0E1C54 #540E1C
tetradic
#1C540E #0E3F54 #460E54 #54230E
square
#1C540E #0E3F54 #460E54 #54230E
split-complementary
#1C540E #230E54 #540E3F
monochromatic
#091A04 #0B2005 #1C540E #2D8817 #3FBD1F

Accessibility & contrast

On white

9.04
#1C540E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C540E
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C540E#FFFFFF#000000##FFFFFF
##1C540E1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C01
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#145147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1c540e;
/* rgb */ color: rgb(28, 84, 14);
/* oklch */ color: oklch(39.4% 0.115 140.2);
Tailwind
colors: {
  custom: {
    50: '#618553',
    500: '#1c540e',
    950: '#000000',
  },
}
SCSS
$custom: #1c540e;
$custom-light: #618553;
$custom-dark: #000000;
JSON
{
  "hex": "#1c540e",
  "rgb": {
    "r": 28,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 108,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39384,
    "c": 0.11548,
    "h": 140.2
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#1C540E
secondary
#7B2F8E
accent
#3AEECA
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B02
muted
#7A7C78

Preview Lab

Preview with #1C540E

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

Preview Lab → · Contrast checker → · Palette generator →

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