#157E18#157E18

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

Color values

HEX#157E18
RGBrgb(21, 126, 24)
HSLhsl(122, 71%, 29%)
HSVhsv(122, 83%, 49%)
CMYKcmyk(83.3%, 0%, 81%, 50.6%)
CIE-LABlab(45.83, -48.00, 43.82)
CIE-LCHlch(45.83, 64.99, 137.61°)
OKLaboklab(51.74% -0.1301 0.098)
OKLCHoklch(51.74% 0.163 143)
XYZxyz(7.9345, 15.1461, 3.3693)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E18 #7E157B
analogous
#477E15 #157E18 #157E4D
triadic
#157E18 #18157E #7E1815
tetradic
#157E18 #15477E #7E157B #7E4D15
square
#157E18 #15477E #7E157B #7E4D15
split-complementary
#157E18 #4D157E #7E1547
monochromatic
#041A05 #0C4A0E #157E18 #1EB222 #31DD36

Accessibility & contrast

On white

5.21
#157E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157E18
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E18#FFFFFF#000000##FFFFFF
##157E181.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157e18;
/* rgb */ color: rgb(21, 126, 24);
/* oklch */ color: oklch(51.7% 0.163 143.0);
Tailwind
colors: {
  custom: {
    50: '#69a45e',
    500: '#157e18',
    950: '#000000',
  },
}
SCSS
$custom: #157e18;
$custom-light: #69a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#157e18",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 121.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51738,
    "c": 0.16291,
    "h": 143
  },
  "luminance": 0.15147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #157E18

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

Preview Lab → · Contrast checker → · Palette generator →

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