#157918#157918

#157918 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.157 H 143.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#157918
RGBrgb(21, 121, 24)
HSLhsl(122, 70%, 28%)
HSVhsv(122, 83%, 47%)
CMYKcmyk(82.6%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.09, -46.36, 42.13)
CIE-LCHlch(44.09, 62.64, 137.74°)
OKLaboklab(50.29% -0.1257 0.0945)
OKLCHoklch(50.29% 0.157 143.1)
XYZxyz(7.3110, 13.8992, 3.1615)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157918 #791576
analogous
#447915 #157918 #15794A
triadic
#157918 #181579 #791815
tetradic
#157918 #154479 #791576 #794A15
square
#157918 #154479 #791576 #794A15
split-complementary
#157918 #4A1579 #791544
monochromatic
#051A05 #0C450E #157918 #1EAD22 #2EDB33

Accessibility & contrast

On white

5.56
#157918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#157918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157918
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157918#FFFFFF#000000##FFFFFF
##1579181.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #157918;
/* rgb */ color: rgb(21, 121, 24);
/* oklch */ color: oklch(50.3% 0.157 143.1);
Tailwind
colors: {
  custom: {
    50: '#67a15d',
    500: '#157918',
    950: '#000000',
  },
}
SCSS
$custom: #157918;
$custom-light: #67a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#157918",
  "rgb": {
    "r": 21,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 121.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50285,
    "c": 0.15723,
    "h": 143.1
  },
  "luminance": 0.139
}

Semantic roles & 50–950 ramp

primary
#157918
secondary
#AF3BAB
accent
#3BE8ED
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #157918

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

Preview Lab → · Contrast checker → · Palette generator →

#157918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva