#157118#157118

#157118 is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.148 H 143.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#157118
RGBrgb(21, 113, 24)
HSLhsl(122, 69%, 26%)
HSVhsv(122, 81%, 44%)
CMYKcmyk(81.4%, 0%, 78.8%, 55.7%)
CIE-LABlab(41.27, -43.67, 39.36)
CIE-LCHlch(41.27, 58.79, 137.97°)
OKLaboklab(47.94% -0.1184 0.0887)
OKLCHoklch(47.94% 0.148 143.2)
XYZxyz(6.3788, 12.0349, 2.8508)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157118 #71156E
analogous
#407115 #157118 #157146
triadic
#157118 #181571 #711815
tetradic
#157118 #154071 #71156E #714615
square
#157118 #154071 #71156E #714615
split-complementary
#157118 #461571 #711540
monochromatic
#051A05 #0B3D0D #157118 #1FA523 #29D72F

Accessibility & contrast

On white

6.16
#157118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#157118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157118
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157118#FFFFFF#000000##FFFFFF
##1571181.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #157118;
/* rgb */ color: rgb(21, 113, 24);
/* oklch */ color: oklch(47.9% 0.148 143.2);
Tailwind
colors: {
  custom: {
    50: '#659b5c',
    500: '#157118',
    950: '#000000',
  },
}
SCSS
$custom: #157118;
$custom-light: #659b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#157118",
  "rgb": {
    "r": 21,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 121.957,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47943,
    "c": 0.14793,
    "h": 143.2
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#157118
secondary
#A73BA4
accent
#3CE6EB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #157118

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

Preview Lab → · Contrast checker → · Palette generator →

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