#157C15#157C15

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

Color values

HEX#157C15
RGBrgb(21, 124, 21)
HSLhsl(120, 71%, 28%)
HSVhsv(120, 83%, 49%)
CMYKcmyk(83.1%, 0%, 83.1%, 51.4%)
CIE-LABlab(45.12, -47.55, 44.12)
CIE-LCHlch(45.12, 64.87, 137.15°)
OKLaboklab(51.14% -0.1291 0.0982)
OKLCHoklch(51.14% 0.162 142.7)
XYZxyz(7.6518, 14.6279, 3.1295)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C15 #7C157C
analogous
#487C15 #157C15 #157C48
triadic
#157C15 #15157C #7C1515
tetradic
#157C15 #15487C #7C157C #7C4815
square
#157C15 #15487C #7C157C #7C4815
split-complementary
#157C15 #48157C #7C1548
monochromatic
#041A04 #0C480C #157C15 #1EB01E #30DC30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157C15#FFFFFF#000000##FFFFFF
##157C151.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)
#746822
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c15;
/* rgb */ color: rgb(21, 124, 21);
/* oklch */ color: oklch(51.1% 0.162 142.7);
Tailwind
colors: {
  custom: {
    50: '#68a35c',
    500: '#157c15',
    950: '#000000',
  },
}
SCSS
$custom: #157c15;
$custom-light: #68a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#157c15",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 120,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51139,
    "c": 0.16217,
    "h": 142.7
  },
  "luminance": 0.14629
}

Semantic roles & 50–950 ramp

primary
#157C15
secondary
#B13CB1
accent
#3AEEEE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #157C15

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

Preview Lab → · Contrast checker → · Palette generator →

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