#157838#157838

#157838 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.131 H 149.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#157838
RGBrgb(21, 120, 56)
HSLhsl(141, 70%, 28%)
HSVhsv(141, 83%, 47%)
CMYKcmyk(82.5%, 0%, 53.3%, 52.9%)
CIE-LABlab(44.06, -42.15, 27.39)
CIE-LCHlch(44.06, 50.27, 146.98°)
OKLaboklab(50.36% -0.1132 0.0663)
OKLCHoklch(50.36% 0.131 149.7)
XYZxyz(7.7389, 13.8770, 6.0113)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157838 #781555
analogous
#247815 #157838 #157869
triadic
#157838 #381578 #783815
tetradic
#157838 #152478 #781555 #786915
square
#157838 #152478 #781555 #786915
split-complementary
#157838 #691578 #781524
monochromatic
#051A0C #0C4420 #157838 #1EAC50 #2DDA6A

Accessibility & contrast

On white

5.56
#157838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#157838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157838
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157838#FFFFFF#000000##FFFFFF
##1578381.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D33
Deuteranopia (green-blind)
#6E653D
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #157838;
/* rgb */ color: rgb(21, 120, 56);
/* oklch */ color: oklch(50.4% 0.131 149.7);
Tailwind
colors: {
  custom: {
    50: '#65a070',
    500: '#157838',
    950: '#000000',
  },
}
SCSS
$custom: #157838;
$custom-light: #65a070;
$custom-dark: #000000;
JSON
{
  "hex": "#157838",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 56
  },
  "hsl": {
    "h": 141.212,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50361,
    "c": 0.13114,
    "h": 149.7
  },
  "luminance": 0.13878
}

Semantic roles & 50–950 ramp

primary
#157838
secondary
#AE3B85
accent
#3BAEED
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #157838

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

Preview Lab → · Contrast checker → · Palette generator →

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