#157040#157040

#157040 is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.2% C 0.112 H 154.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#157040
RGBrgb(21, 112, 64)
HSLhsl(148, 68%, 26%)
HSVhsv(148, 81%, 44%)
CMYKcmyk(81.2%, 0%, 42.9%, 56.1%)
CIE-LABlab(41.40, -37.56, 19.55)
CIE-LCHlch(41.40, 42.34, 152.50°)
OKLaboklab(48.21% -0.1011 0.0486)
OKLCHoklch(48.21% 0.112 154.3)
XYZxyz(7.0282, 12.1171, 6.8179)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157040 #701545
analogous
#177015 #157040 #15706D
triadic
#157040 #401570 #704015
tetradic
#157040 #151770 #701545 #706D15
square
#157040 #151770 #701545 #706D15
split-complementary
#157040 #6D1570 #701517
monochromatic
#051A0F #0B3C23 #157040 #1FA45D #29D77B

Accessibility & contrast

On white

6.13
#157040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#157040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157040
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157040#FFFFFF#000000##FFFFFF
##1570401.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70663D
Deuteranopia (green-blind)
#655F43
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #157040;
/* rgb */ color: rgb(21, 112, 64);
/* oklch */ color: oklch(48.2% 0.112 154.3);
Tailwind
colors: {
  custom: {
    50: '#639a75',
    500: '#157040',
    950: '#000000',
  },
}
SCSS
$custom: #157040;
$custom-light: #639a75;
$custom-dark: #000000;
JSON
{
  "hex": "#157040",
  "rgb": {
    "r": 21,
    "g": 112,
    "b": 64
  },
  "hsl": {
    "h": 148.352,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.1122,
    "h": 154.3
  },
  "luminance": 0.12118
}

Semantic roles & 50–950 ramp

primary
#157040
secondary
#A63B73
accent
#3D99EB
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #157040

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

Preview Lab → · Contrast checker → · Palette generator →

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