#157845#157845

#157845 is a mid, moderate green. Relative luminance 0.140; OKLCH L 50.6% C 0.118 H 154.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#157845
RGBrgb(21, 120, 69)
HSLhsl(149, 70%, 28%)
HSVhsv(149, 83%, 47%)
CMYKcmyk(82.5%, 0%, 42.5%, 52.9%)
CIE-LABlab(44.26, -39.73, 20.46)
CIE-LCHlch(44.26, 44.69, 152.76°)
OKLaboklab(50.6% -0.107 0.0509)
OKLCHoklch(50.6% 0.118 154.6)
XYZxyz(8.0991, 14.0211, 7.9085)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157845 #781548
analogous
#167815 #157845 #157877
triadic
#157845 #451578 #784515
tetradic
#157845 #151678 #781548 #787715
square
#157845 #151678 #781548 #787715
split-complementary
#157845 #771578 #781516
monochromatic
#051A0F #0C4427 #157845 #1EAC63 #2DDA81

Accessibility & contrast

On white

5.52
#157845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#157845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157845
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157845#FFFFFF#000000##FFFFFF
##1578451.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E41
Deuteranopia (green-blind)
#6C6548
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157845;
/* rgb */ color: rgb(21, 120, 69);
/* oklch */ color: oklch(50.6% 0.118 154.6);
Tailwind
colors: {
  custom: {
    50: '#65a079',
    500: '#157845',
    950: '#000000',
  },
}
SCSS
$custom: #157845;
$custom-light: #65a079;
$custom-dark: #000000;
JSON
{
  "hex": "#157845",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 69
  },
  "hsl": {
    "h": 149.091,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.506,
    "c": 0.11843,
    "h": 154.6
  },
  "luminance": 0.14022
}

Semantic roles & 50–950 ramp

primary
#157845
secondary
#AE3B76
accent
#3B97ED
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #157845

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

Preview Lab → · Contrast checker → · Palette generator →

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