#157C18#157C18

#157C18 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.161 H 143.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#157C18
RGBrgb(21, 124, 24)
HSLhsl(122, 71%, 28%)
HSVhsv(122, 83%, 49%)
CMYKcmyk(83.1%, 0%, 80.6%, 51.4%)
CIE-LABlab(45.14, -47.35, 43.15)
CIE-LCHlch(45.14, 64.06, 137.66°)
OKLaboklab(51.16% -0.1284 0.0966)
OKLCHoklch(51.16% 0.161 143)
XYZxyz(7.6813, 14.6397, 3.2849)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C18 #7C1579
analogous
#457C15 #157C18 #157C4B
triadic
#157C18 #18157C #7C1815
tetradic
#157C18 #15457C #7C1579 #7C4B15
square
#157C18 #15457C #7C1579 #7C4B15
split-complementary
#157C18 #4B157C #7C1545
monochromatic
#041A05 #0C480E #157C18 #1EB022 #30DC35

Accessibility & contrast

On white

5.35
#157C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#157C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C18
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C18#FFFFFF#000000##FFFFFF
##157C181.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c18;
/* rgb */ color: rgb(21, 124, 24);
/* oklch */ color: oklch(51.2% 0.161 143.0);
Tailwind
colors: {
  custom: {
    50: '#68a35d',
    500: '#157c18',
    950: '#000000',
  },
}
SCSS
$custom: #157c18;
$custom-light: #68a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#157c18",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 121.748,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.16066,
    "h": 143
  },
  "luminance": 0.14641
}

Semantic roles & 50–950 ramp

primary
#157C18
secondary
#B13CAE
accent
#3AE9EE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157C18

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

Preview Lab → · Contrast checker → · Palette generator →

#157C18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva