#157F14#157F14

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

Color values

HEX#157F14
RGBrgb(21, 127, 20)
HSLhsl(119, 73%, 29%)
HSVhsv(119, 84%, 50%)
CMYKcmyk(83.5%, 0%, 84.3%, 50.2%)
CIE-LABlab(46.16, -48.59, 45.40)
CIE-LCHlch(46.16, 66.50, 136.95°)
OKLaboklab(52% -0.1319 0.1007)
OKLCHoklch(52% 0.166 142.6)
XYZxyz(8.0244, 15.3877, 3.2089)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F14 #7E147F
analogous
#4B7F14 #157F14 #147F49
triadic
#157F14 #14157F #7F1415
tetradic
#157F14 #144B7F #7E147F #7F4914
square
#157F14 #144B7F #7E147F #7F4914
split-complementary
#157F14 #49147F #7F144B
monochromatic
#041A04 #0C4A0C #157F14 #1EB41C #31DE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157F14#FFFFFF#000000##FFFFFF
##157F141.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)
#776A22
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157f14;
/* rgb */ color: rgb(21, 127, 20);
/* oklch */ color: oklch(52.0% 0.166 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a55c',
    500: '#157f14',
    950: '#000000',
  },
}
SCSS
$custom: #157f14;
$custom-light: #69a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#157f14",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 119.439,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.16597,
    "h": 142.6
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#157F14
secondary
#B33BB4
accent
#38EFEE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #157F14

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

Preview Lab → · Contrast checker → · Palette generator →

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