#157942#157942

#157942 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.123 H 153.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#157942
RGBrgb(21, 121, 66)
HSLhsl(147, 70%, 28%)
HSVhsv(147, 83%, 47%)
CMYKcmyk(82.6%, 0%, 45.5%, 52.5%)
CIE-LABlab(44.56, -40.72, 22.53)
CIE-LCHlch(44.56, 46.54, 151.05°)
OKLaboklab(50.83% -0.1095 0.0556)
OKLCHoklch(50.83% 0.123 153.1)
XYZxyz(8.1292, 14.2265, 7.4708)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157942 #79154C
analogous
#1A7915 #157942 #157974
triadic
#157942 #421579 #794215
tetradic
#157942 #151A79 #79154C #797415
square
#157942 #151A79 #79154C #797415
split-complementary
#157942 #741579 #79151A
monochromatic
#051A0E #0C4526 #157942 #1EAD5E #2EDB7C

Accessibility & contrast

On white

5.46
#157942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#157942 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157942
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157942#FFFFFF#000000##FFFFFF
##1579421.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3E
Deuteranopia (green-blind)
#6E6646
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157942;
/* rgb */ color: rgb(21, 121, 66);
/* oklch */ color: oklch(50.8% 0.123 153.1);
Tailwind
colors: {
  custom: {
    50: '#65a177',
    500: '#157942',
    950: '#000000',
  },
}
SCSS
$custom: #157942;
$custom-light: #65a177;
$custom-dark: #000000;
JSON
{
  "hex": "#157942",
  "rgb": {
    "r": 21,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 147,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50825,
    "c": 0.12278,
    "h": 153.1
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#157942
secondary
#AF3B7B
accent
#3B9DED
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157942

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

Preview Lab → · Contrast checker → · Palette generator →

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