#157E13#157E13

#157E13 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.165 H 142.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#157E13
RGBrgb(21, 126, 19)
HSLhsl(119, 74%, 28%)
HSVhsv(119, 85%, 49%)
CMYKcmyk(83.3%, 0%, 84.9%, 50.6%)
CIE-LABlab(45.81, -48.33, 45.36)
CIE-LCHlch(45.81, 66.28, 136.81°)
OKLaboklab(51.71% -0.1312 0.1005)
OKLCHoklch(51.71% 0.165 142.6)
XYZxyz(7.8872, 15.1272, 3.1201)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E13 #7C137E
analogous
#4A7E13 #157E13 #137E46
triadic
#157E13 #13157E #7E1315
tetradic
#157E13 #134A7E #7C137E #7E4613
square
#157E13 #134A7E #7C137E #7E4613
split-complementary
#157E13 #46137E #7E134A
monochromatic
#041B04 #0C490B #157E13 #1EB31B #30DF2C

Accessibility & contrast

On white

5.22
#157E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#157E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E13
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E13#FFFFFF#000000##FFFFFF
##157E131.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157e13;
/* rgb */ color: rgb(21, 126, 19);
/* oklch */ color: oklch(51.7% 0.165 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a45c',
    500: '#157e13',
    950: '#000000',
  },
}
SCSS
$custom: #157e13;
$custom-light: #69a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#157e13",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 118.879,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51708,
    "c": 0.1653,
    "h": 142.6
  },
  "luminance": 0.15128
}

Semantic roles & 50–950 ramp

primary
#157E13
secondary
#B139B4
accent
#37F0ED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #157E13

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

Preview Lab → · Contrast checker → · Palette generator →

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