#157B14#157B14

#157B14 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.8% C 0.162 H 142.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#157B14
RGBrgb(21, 123, 20)
HSLhsl(119, 72%, 28%)
HSVhsv(119, 84%, 48%)
CMYKcmyk(82.9%, 0%, 83.7%, 51.8%)
CIE-LABlab(44.77, -47.29, 44.09)
CIE-LCHlch(44.77, 64.66, 137.00°)
OKLaboklab(50.84% -0.1284 0.098)
OKLCHoklch(50.84% 0.162 142.7)
XYZxyz(7.5180, 14.3749, 3.0401)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B14 #7A147B
analogous
#497B14 #157B14 #147B46
triadic
#157B14 #14157B #7B1415
tetradic
#157B14 #14497B #7A147B #7B4614
square
#157B14 #14497B #7A147B #7B4614
split-complementary
#157B14 #46147B #7B1449
monochromatic
#041A04 #0C460B #157B14 #1EB01D #2EDD2D

Accessibility & contrast

On white

5.42
#157B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#157B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B14
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B14#FFFFFF#000000##FFFFFF
##157B141.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b14;
/* rgb */ color: rgb(21, 123, 20);
/* oklch */ color: oklch(50.8% 0.162 142.7);
Tailwind
colors: {
  custom: {
    50: '#68a25c',
    500: '#157b14',
    950: '#000000',
  },
}
SCSS
$custom: #157b14;
$custom-light: #68a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#157b14",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 119.417,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50842,
    "c": 0.16152,
    "h": 142.7
  },
  "luminance": 0.14376
}

Semantic roles & 50–950 ramp

primary
#157B14
secondary
#AF3AB1
accent
#39EFED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #157B14

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

Preview Lab → · Contrast checker → · Palette generator →

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