#157941#157941

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

Color values

HEX#157941
RGBrgb(21, 121, 65)
HSLhsl(146, 70%, 28%)
HSVhsv(146, 83%, 47%)
CMYKcmyk(82.6%, 0%, 46.3%, 52.5%)
CIE-LABlab(44.54, -40.91, 23.07)
CIE-LCHlch(44.54, 46.97, 150.59°)
OKLaboklab(50.81% -0.1099 0.0568)
OKLCHoklch(50.81% 0.124 152.7)
XYZxyz(8.1000, 14.2148, 7.3168)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157941 #79154D
analogous
#1B7915 #157941 #157973
triadic
#157941 #411579 #794115
tetradic
#157941 #151B79 #79154D #797315
square
#157941 #151B79 #79154D #797315
split-complementary
#157941 #731579 #79151B
monochromatic
#051A0E #0C4525 #157941 #1EAD5D #2EDB7A

Accessibility & contrast

On white

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

On black

3.84
#157941 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##157941#FFFFFF#000000##FFFFFF
##1579411.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3D
Deuteranopia (green-blind)
#6E6645
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157941;
/* rgb */ color: rgb(21, 121, 65);
/* oklch */ color: oklch(50.8% 0.124 152.7);
Tailwind
colors: {
  custom: {
    50: '#65a176',
    500: '#157941',
    950: '#000000',
  },
}
SCSS
$custom: #157941;
$custom-light: #65a176;
$custom-dark: #000000;
JSON
{
  "hex": "#157941",
  "rgb": {
    "r": 21,
    "g": 121,
    "b": 65
  },
  "hsl": {
    "h": 146.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50806,
    "c": 0.12377,
    "h": 152.7
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

primary
#157941
secondary
#AF3B7C
accent
#3B9FED
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157941

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

Preview Lab → · Contrast checker → · Palette generator →

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