#157F1E#157F1E

#157F1E is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.161 H 143.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#157F1E
RGBrgb(21, 127, 30)
HSLhsl(125, 72%, 29%)
HSVhsv(125, 83%, 50%)
CMYKcmyk(83.5%, 0%, 76.4%, 50.2%)
CIE-LABlab(46.22, -47.86, 42.04)
CIE-LCHlch(46.22, 63.70, 138.70°)
OKLaboklab(52.07% -0.1295 0.0951)
OKLCHoklch(52.07% 0.161 143.7)
XYZxyz(8.1324, 15.4309, 3.7779)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F1E #7F1576
analogous
#417F15 #157F1E #157F53
triadic
#157F1E #1E157F #7F1E15
tetradic
#157F1E #15417F #7F1576 #7F5315
square
#157F1E #15417F #7F1576 #7F5315
split-complementary
#157F1E #53157F #7F1541
monochromatic
#041A06 #0C4A12 #157F1E #1EB42A #31DD40

Accessibility & contrast

On white

5.14
#157F1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#157F1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F1E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F1E#FFFFFF#000000##FFFFFF
##157F1E1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720B
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157f1e;
/* rgb */ color: rgb(21, 127, 30);
/* oklch */ color: oklch(52.1% 0.161 143.7);
Tailwind
colors: {
  custom: {
    50: '#69a561',
    500: '#157f1e',
    950: '#000000',
  },
}
SCSS
$custom: #157f1e;
$custom-light: #69a561;
$custom-dark: #000000;
JSON
{
  "hex": "#157f1e",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 125.094,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5207,
    "c": 0.16069,
    "h": 143.7
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

primary
#157F1E
secondary
#B43CAA
accent
#39DFEE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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