#157F19#157F19

#157F19 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.164 H 143.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#157F19
RGBrgb(21, 127, 25)
HSLhsl(122, 72%, 29%)
HSVhsv(122, 83%, 50%)
CMYKcmyk(83.5%, 0%, 80.3%, 50.2%)
CIE-LABlab(46.19, -48.26, 43.82)
CIE-LCHlch(46.19, 65.18, 137.76°)
OKLaboklab(52.03% -0.1308 0.0981)
OKLCHoklch(52.03% 0.164 143.1)
XYZxyz(8.0736, 15.4074, 3.4679)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F19 #7F157B
analogous
#467F15 #157F19 #157F4E
triadic
#157F19 #19157F #7F1915
tetradic
#157F19 #15467F #7F157B #7F4E15
square
#157F19 #15467F #7F157B #7F4E15
split-complementary
#157F19 #4E157F #7F1546
monochromatic
#041A05 #0C4A0F #157F19 #1EB423 #31DD38

Accessibility & contrast

On white

5.15
#157F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#157F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F19
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F19#FFFFFF#000000##FFFFFF
##157F191.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157f19;
/* rgb */ color: rgb(21, 127, 25);
/* oklch */ color: oklch(52.0% 0.164 143.1);
Tailwind
colors: {
  custom: {
    50: '#69a55e',
    500: '#157f19',
    950: '#000000',
  },
}
SCSS
$custom: #157f19;
$custom-light: #69a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#157f19",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 122.264,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52034,
    "c": 0.16352,
    "h": 143.1
  },
  "luminance": 0.15408
}

Semantic roles & 50–950 ramp

primary
#157F19
secondary
#B43CAF
accent
#39E8EE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157F19

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

Preview Lab → · Contrast checker → · Palette generator →

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