#157E11#157E11

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

Color values

HEX#157E11
RGBrgb(21, 126, 17)
HSLhsl(118, 76%, 28%)
HSVhsv(118, 87%, 49%)
CMYKcmyk(83.3%, 0%, 86.5%, 50.6%)
CIE-LABlab(45.80, -48.44, 45.92)
CIE-LCHlch(45.80, 66.74, 136.53°)
OKLaboklab(51.7% -0.1316 0.1014)
OKLCHoklch(51.7% 0.166 142.4)
XYZxyz(7.8708, 15.1207, 3.0340)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E11 #7A117E
analogous
#4B7E11 #157E11 #117E43
triadic
#157E11 #11157E #7E1115
tetradic
#157E11 #114B7E #7A117E #7E4311
square
#157E11 #114B7E #7A117E #7E4311
split-complementary
#157E11 #43117E #7E114B
monochromatic
#041B04 #0C480A #157E11 #1EB418 #2EE227

Accessibility & contrast

On white

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

On black

4.02
#157E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##157E11#FFFFFF#000000##FFFFFF
##157E111.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157e11;
/* rgb */ color: rgb(21, 126, 17);
/* oklch */ color: oklch(51.7% 0.166 142.4);
Tailwind
colors: {
  custom: {
    50: '#69a45b',
    500: '#157e11',
    950: '#000000',
  },
}
SCSS
$custom: #157e11;
$custom-light: #69a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#157e11",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 117.798,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.16614,
    "h": 142.4
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#157E11
secondary
#AF37B4
accent
#35F3EC
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #157E11

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

Preview Lab → · Contrast checker → · Palette generator →

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