#15642F#15642F

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

Color values

HEX#15642F
RGBrgb(21, 100, 47)
HSLhsl(140, 65%, 24%)
HSVhsv(140, 79%, 39%)
CMYKcmyk(79%, 0%, 53%, 60.8%)
CIE-LABlab(36.89, -36.00, 23.43)
CIE-LCHlch(36.89, 42.96, 146.95°)
OKLaboklab(44.39% -0.0968 0.0569)
OKLCHoklch(44.39% 0.112 149.6)
XYZxyz(5.3791, 9.4784, 4.2348)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15642F #64154A
analogous
#226415 #15642F #156456
triadic
#15642F #2F1564 #642F15
tetradic
#15642F #152264 #64154A #645615
square
#15642F #152264 #64154A #645615
split-complementary
#15642F #561564 #641522
monochromatic
#05190C #0A3117 #15642F #209747 #2AC95F

Accessibility & contrast

On white

7.25
#15642F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#15642F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15642F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15642F#FFFFFF#000000##FFFFFF
##15642F1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B2B
Deuteranopia (green-blind)
#5C5433
Tritanopia (blue-blind)
#006258
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #15642f;
/* rgb */ color: rgb(21, 100, 47);
/* oklch */ color: oklch(44.4% 0.112 149.6);
Tailwind
colors: {
  custom: {
    50: '#609168',
    500: '#15642f',
    950: '#000000',
  },
}
SCSS
$custom: #15642f;
$custom-light: #609168;
$custom-dark: #000000;
JSON
{
  "hex": "#15642f",
  "rgb": {
    "r": 21,
    "g": 100,
    "b": 47
  },
  "hsl": {
    "h": 139.747,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44385,
    "c": 0.11227,
    "h": 149.6
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#15642F
secondary
#9B3A7B
accent
#40B1E8
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A

Preview Lab

Preview with #15642F

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

Preview Lab → · Contrast checker → · Palette generator →

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