#157138#157138

#157138 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.122 H 150.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#157138
RGBrgb(21, 113, 56)
HSLhsl(143, 69%, 26%)
HSVhsv(143, 81%, 44%)
CMYKcmyk(81.4%, 0%, 50.4%, 55.7%)
CIE-LABlab(41.62, -39.49, 24.35)
CIE-LCHlch(41.62, 46.39, 148.35°)
OKLaboklab(48.34% -0.1061 0.0594)
OKLCHoklch(48.34% 0.122 150.8)
XYZxyz(6.9276, 12.2544, 5.7408)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157138 #71154E
analogous
#207115 #157138 #157166
triadic
#157138 #381571 #713815
tetradic
#157138 #152071 #71154E #716615
square
#157138 #152071 #71154E #716615
split-complementary
#157138 #661571 #711520
monochromatic
#051A0D #0B3D1E #157138 #1FA552 #29D76B

Accessibility & contrast

On white

6.09
#157138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#157138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157138
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157138#FFFFFF#000000##FFFFFF
##1571381.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726733
Deuteranopia (green-blind)
#675F3C
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #157138;
/* rgb */ color: rgb(21, 113, 56);
/* oklch */ color: oklch(48.3% 0.122 150.8);
Tailwind
colors: {
  custom: {
    50: '#639b6f',
    500: '#157138',
    950: '#000000',
  },
}
SCSS
$custom: #157138;
$custom-light: #639b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#157138",
  "rgb": {
    "r": 21,
    "g": 113,
    "b": 56
  },
  "hsl": {
    "h": 142.826,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48342,
    "c": 0.12158,
    "h": 150.8
  },
  "luminance": 0.12255
}

Semantic roles & 50–950 ramp

primary
#157138
secondary
#A73B7E
accent
#3CA9EB
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #157138

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

Preview Lab → · Contrast checker → · Palette generator →

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