#157018#157018

#157018 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.6% C 0.147 H 143.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#157018
RGBrgb(21, 112, 24)
HSLhsl(122, 68%, 26%)
HSVhsv(122, 81%, 44%)
CMYKcmyk(81.2%, 0%, 78.6%, 56.1%)
CIE-LABlab(40.92, -43.33, 39.00)
CIE-LCHlch(40.92, 58.30, 138.01°)
OKLaboklab(47.65% -0.1175 0.088)
OKLCHoklch(47.65% 0.147 143.2)
XYZxyz(6.2679, 11.8130, 2.8138)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157018 #70156D
analogous
#3F7015 #157018 #157045
triadic
#157018 #181570 #701815
tetradic
#157018 #153F70 #70156D #704515
square
#157018 #153F70 #70156D #704515
split-complementary
#157018 #451570 #70153F
monochromatic
#051A06 #0B3C0D #157018 #1FA423 #29D72E

Accessibility & contrast

On white

6.24
#157018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#157018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157018
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157018#FFFFFF#000000##FFFFFF
##1570181.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726506
Deuteranopia (green-blind)
#695E22
Tritanopia (blue-blind)
#006D5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #157018;
/* rgb */ color: rgb(21, 112, 24);
/* oklch */ color: oklch(47.6% 0.147 143.2);
Tailwind
colors: {
  custom: {
    50: '#659a5c',
    500: '#157018',
    950: '#000000',
  },
}
SCSS
$custom: #157018;
$custom-light: #659a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#157018",
  "rgb": {
    "r": 21,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 121.978,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.14674,
    "h": 143.2
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#157018
secondary
#A63BA3
accent
#3DE6EB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #157018

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

Preview Lab → · Contrast checker → · Palette generator →

#157018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva