#157945#157945

#157945 is a mid, moderate green. Relative luminance 0.143; OKLCH L 50.9% C 0.120 H 154.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#157945
RGBrgb(21, 121, 69)
HSLhsl(149, 70%, 28%)
HSVhsv(149, 83%, 47%)
CMYKcmyk(82.6%, 0%, 43%, 52.5%)
CIE-LABlab(44.61, -40.13, 20.91)
CIE-LCHlch(44.61, 45.25, 152.48°)
OKLaboklab(50.88% -0.108 0.0519)
OKLCHoklch(50.88% 0.12 154.3)
XYZxyz(8.2200, 14.2628, 7.9488)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157945 #791549
analogous
#177915 #157945 #157977
triadic
#157945 #451579 #794515
tetradic
#157945 #151779 #791549 #797715
square
#157945 #151779 #791549 #797715
split-complementary
#157945 #771579 #791517
monochromatic
#051A0F #0C4527 #157945 #1EAD63 #2EDB81

Accessibility & contrast

On white

5.45
#157945 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157945
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157945#FFFFFF#000000##FFFFFF
##1579451.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E41
Deuteranopia (green-blind)
#6D6649
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157945;
/* rgb */ color: rgb(21, 121, 69);
/* oklch */ color: oklch(50.9% 0.120 154.3);
Tailwind
colors: {
  custom: {
    50: '#65a179',
    500: '#157945',
    950: '#000000',
  },
}
SCSS
$custom: #157945;
$custom-light: #65a179;
$custom-dark: #000000;
JSON
{
  "hex": "#157945",
  "rgb": {
    "r": 21,
    "g": 121,
    "b": 69
  },
  "hsl": {
    "h": 148.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.11982,
    "h": 154.3
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#157945
secondary
#AF3B77
accent
#3B97ED
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157945

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

Preview Lab → · Contrast checker → · Palette generator →

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