#1C6540#1C6540

#1C6540 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.2% C 0.094 H 156.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#1C6540
RGBrgb(28, 101, 64)
HSLhsl(150, 57%, 25%)
HSVhsv(150, 72%, 40%)
CMYKcmyk(72.3%, 0%, 36.6%, 60.4%)
CIE-LABlab(37.71, -31.77, 14.65)
CIE-LCHlch(37.71, 34.98, 155.25°)
OKLaboklab(45.2% -0.0861 0.0369)
OKLCHoklch(45.2% 0.094 156.8)
XYZxyz(6.0574, 9.9237, 6.4457)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C6540 #651C41
analogous
#1D651C #1C6540 #1C6564
triadic
#1C6540 #401C65 #65401C
tetradic
#1C6540 #1C1D65 #651C41 #65641C
square
#1C6540 #1C1D65 #651C41 #65641C
split-complementary
#1C6540 #641C65 #651C1D
monochromatic
#07180F #0F3522 #1C6540 #29955E #37C57D

Accessibility & contrast

On white

7.04
#1C6540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#1C6540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C6540
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C6540#FFFFFF#000000##FFFFFF
##1C65401.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645D3E
Deuteranopia (green-blind)
#5B5642
Tritanopia (blue-blind)
#00645B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1c6540;
/* rgb */ color: rgb(28, 101, 64);
/* oklch */ color: oklch(45.2% 0.094 156.8);
Tailwind
colors: {
  custom: {
    50: '#639175',
    500: '#1c6540',
    950: '#000000',
  },
}
SCSS
$custom: #1c6540;
$custom-light: #639175;
$custom-dark: #000000;
JSON
{
  "hex": "#1c6540",
  "rgb": {
    "r": 28,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 149.589,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45202,
    "c": 0.0937,
    "h": 156.8
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#1C6540
secondary
#9A436F
accent
#4895E0
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #1C6540

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

Preview Lab → · Contrast checker → · Palette generator →

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