#15642D#15642D

#15642D is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.4% C 0.114 H 148.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#15642D
RGBrgb(21, 100, 45)
HSLhsl(138, 65%, 24%)
HSVhsv(138, 79%, 39%)
CMYKcmyk(79%, 0%, 55%, 60.8%)
CIE-LABlab(36.86, -36.35, 24.50)
CIE-LCHlch(36.86, 43.84, 146.02°)
OKLaboklab(44.35% -0.0977 0.0592)
OKLCHoklch(44.35% 0.114 148.8)
XYZxyz(5.3397, 9.4626, 4.0272)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15642D #64154C
analogous
#246415 #15642D #156454
triadic
#15642D #2D1564 #642D15
tetradic
#15642D #152464 #64154C #645415
square
#15642D #152464 #64154C #645415
split-complementary
#15642D #541564 #641524
monochromatic
#05190B #0A3116 #15642D #209744 #2AC95B

Accessibility & contrast

On white

7.26
#15642D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#15642D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15642D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15642D#FFFFFF#000000##FFFFFF
##15642D1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B28
Deuteranopia (green-blind)
#5C5431
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #15642d;
/* rgb */ color: rgb(21, 100, 45);
/* oklch */ color: oklch(44.4% 0.114 148.8);
Tailwind
colors: {
  custom: {
    50: '#609167',
    500: '#15642d',
    950: '#000000',
  },
}
SCSS
$custom: #15642d;
$custom-light: #609167;
$custom-dark: #000000;
JSON
{
  "hex": "#15642d",
  "rgb": {
    "r": 21,
    "g": 100,
    "b": 45
  },
  "hsl": {
    "h": 138.228,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44351,
    "c": 0.11426,
    "h": 148.8
  },
  "luminance": 0.09463
}

Semantic roles & 50–950 ramp

primary
#15642D
secondary
#9B3A7D
accent
#40B5E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A

Preview Lab

Preview with #15642D

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

Preview Lab → · Contrast checker → · Palette generator →

#15642D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva