#157F15#157F15

#157F15 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.166 H 142.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#157F15
RGBrgb(21, 127, 21)
HSLhsl(120, 72%, 29%)
HSVhsv(120, 83%, 50%)
CMYKcmyk(83.5%, 0%, 83.5%, 50.2%)
CIE-LABlab(46.17, -48.53, 45.10)
CIE-LCHlch(46.17, 66.25, 137.10°)
OKLaboklab(52.01% -0.1317 0.1002)
OKLCHoklch(52.01% 0.166 142.7)
XYZxyz(8.0335, 15.3913, 3.2568)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F15 #7F157F
analogous
#4A7F15 #157F15 #157F4A
triadic
#157F15 #15157F #7F1515
tetradic
#157F15 #154A7F #7F157F #7F4A15
square
#157F15 #154A7F #7F157F #7F4A15
split-complementary
#157F15 #4A157F #7F154A
monochromatic
#041A04 #0C4A0C #157F15 #1EB41E #31DD31

Accessibility & contrast

On white

5.15
#157F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#157F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F15
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F15#FFFFFF#000000##FFFFFF
##157F151.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157f15;
/* rgb */ color: rgb(21, 127, 21);
/* oklch */ color: oklch(52.0% 0.166 142.7);
Tailwind
colors: {
  custom: {
    50: '#69a55d',
    500: '#157f15',
    950: '#000000',
  },
}
SCSS
$custom: #157f15;
$custom-light: #69a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#157f15",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 120,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52009,
    "c": 0.16551,
    "h": 142.7
  },
  "luminance": 0.15392
}

Semantic roles & 50–950 ramp

primary
#157F15
secondary
#B43CB4
accent
#39EEEE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157F15

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

Preview Lab → · Contrast checker → · Palette generator →

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