#157F13#157F13

#157F13 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#157F13
RGBrgb(21, 127, 19)
HSLhsl(119, 74%, 29%)
HSVhsv(119, 85%, 50%)
CMYKcmyk(83.5%, 0%, 85%, 50.2%)
CIE-LABlab(46.16, -48.65, 45.68)
CIE-LCHlch(46.16, 66.74, 136.80°)
OKLaboklab(52% -0.1321 0.1012)
OKLCHoklch(52% 0.166 142.6)
XYZxyz(8.0157, 15.3842, 3.1630)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F13 #7D137F
analogous
#4B7F13 #157F13 #137F47
triadic
#157F13 #13157F #7F1315
tetradic
#157F13 #134B7F #7D137F #7F4713
square
#157F13 #134B7F #7D137F #7F4713
split-complementary
#157F13 #47137F #7F134B
monochromatic
#041B04 #0C4A0B #157F13 #1EB41B #30E02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #157f13;
/* rgb */ color: rgb(21, 127, 19);
/* oklch */ color: oklch(52.0% 0.166 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a55c',
    500: '#157f13',
    950: '#000000',
  },
}
SCSS
$custom: #157f13;
$custom-light: #69a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#157f13",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 118.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51998,
    "c": 0.16641,
    "h": 142.6
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#157F13
secondary
#B239B4
accent
#37F1ED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #157F13

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

Preview Lab → · Contrast checker → · Palette generator →

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