#157839#157839

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

Color values

HEX#157839
RGBrgb(21, 120, 57)
HSLhsl(142, 70%, 28%)
HSVhsv(142, 83%, 47%)
CMYKcmyk(82.5%, 0%, 52.5%, 52.9%)
CIE-LABlab(44.07, -41.98, 26.87)
CIE-LCHlch(44.07, 49.84, 147.38°)
OKLaboklab(50.38% -0.1127 0.0652)
OKLCHoklch(50.38% 0.13 150)
XYZxyz(7.7636, 13.8868, 6.1414)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157839 #781554
analogous
#237815 #157839 #15786A
triadic
#157839 #391578 #783915
tetradic
#157839 #152378 #781554 #786A15
square
#157839 #152378 #781554 #786A15
split-complementary
#157839 #6A1578 #781523
monochromatic
#051A0C #0C4420 #157839 #1EAC52 #2DDA6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157839#FFFFFF#000000##FFFFFF
##1578391.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)
#796D34
Deuteranopia (green-blind)
#6E653E
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #157839;
/* rgb */ color: rgb(21, 120, 57);
/* oklch */ color: oklch(50.4% 0.130 150.0);
Tailwind
colors: {
  custom: {
    50: '#65a071',
    500: '#157839',
    950: '#000000',
  },
}
SCSS
$custom: #157839;
$custom-light: #65a071;
$custom-dark: #000000;
JSON
{
  "hex": "#157839",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 57
  },
  "hsl": {
    "h": 141.818,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50377,
    "c": 0.13018,
    "h": 150
  },
  "luminance": 0.13888
}

Semantic roles & 50–950 ramp

primary
#157839
secondary
#AE3B84
accent
#3BACED
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #157839

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

Preview Lab → · Contrast checker → · Palette generator →

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