#15842F#15842F

#15842F is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.155 H 146.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#15842F
RGBrgb(21, 132, 47)
HSLhsl(134, 73%, 30%)
HSVhsv(134, 84%, 52%)
CMYKcmyk(84.1%, 0%, 64.4%, 48.2%)
CIE-LABlab(48.09, -47.74, 36.72)
CIE-LCHlch(48.09, 60.23, 142.43°)
OKLaboklab(53.67% -0.1285 0.086)
OKLCHoklch(53.67% 0.155 146.2)
XYZxyz(9.0729, 16.8661, 5.4661)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15842F #84156A
analogous
#338415 #15842F #158466
triadic
#15842F #2F1584 #842F15
tetradic
#15842F #153384 #84156A #846615
square
#15842F #153384 #84156A #846615
split-complementary
#15842F #661584 #841533
monochromatic
#041A09 #0D4F1C #15842F #1DB942 #35DF5C

Accessibility & contrast

On white

4.80
#15842F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#15842F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #15842F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15842F#FFFFFF#000000##FFFFFF
##15842F1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867725
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #15842f;
/* rgb */ color: rgb(21, 132, 47);
/* oklch */ color: oklch(53.7% 0.155 146.2);
Tailwind
colors: {
  custom: {
    50: '#69a96b',
    500: '#15842f',
    950: '#000000',
  },
}
SCSS
$custom: #15842f;
$custom-light: #69a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#15842f",
  "rgb": {
    "r": 21,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 134.054,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.53674,
    "c": 0.15457,
    "h": 146.2
  },
  "luminance": 0.16867
}

Semantic roles & 50–950 ramp

primary
#15842F
secondary
#B93C9B
accent
#39C4EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071007
muted
#7A7F7A

Preview Lab

Preview with #15842F

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

Preview Lab → · Contrast checker → · Palette generator →

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