#157E19#157E19

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

Color values

HEX#157E19
RGBrgb(21, 126, 25)
HSLhsl(122, 71%, 29%)
HSVhsv(122, 83%, 49%)
CMYKcmyk(83.3%, 0%, 80.2%, 50.6%)
CIE-LABlab(45.84, -47.93, 43.49)
CIE-LCHlch(45.84, 64.72, 137.78°)
OKLaboklab(51.75% -0.1299 0.0974)
OKLCHoklch(51.75% 0.162 143.1)
XYZxyz(7.9451, 15.1504, 3.4251)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E19 #7E157A
analogous
#467E15 #157E19 #157E4E
triadic
#157E19 #19157E #7E1915
tetradic
#157E19 #15467E #7E157A #7E4E15
square
#157E19 #15467E #7E157A #7E4E15
split-complementary
#157E19 #4E157E #7E1546
monochromatic
#041A05 #0C4A0F #157E19 #1EB223 #31DD37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157E19#FFFFFF#000000##FFFFFF
##157E191.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)
#817101
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e19;
/* rgb */ color: rgb(21, 126, 25);
/* oklch */ color: oklch(51.7% 0.162 143.1);
Tailwind
colors: {
  custom: {
    50: '#69a45e',
    500: '#157e19',
    950: '#000000',
  },
}
SCSS
$custom: #157e19;
$custom-light: #69a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#157e19",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 122.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51745,
    "c": 0.16239,
    "h": 143.1
  },
  "luminance": 0.15151
}

Semantic roles & 50–950 ramp

primary
#157E19
secondary
#B33CAF
accent
#3AE7EE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157E19

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

Preview Lab → · Contrast checker → · Palette generator →

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