#157128#157128

#157128 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.136 H 146.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#157128
RGBrgb(21, 113, 40)
HSLhsl(132, 69%, 26%)
HSVhsv(132, 81%, 44%)
CMYKcmyk(81.4%, 0%, 64.6%, 55.7%)
CIE-LABlab(41.41, -41.97, 32.50)
CIE-LCHlch(41.41, 53.09, 142.25°)
OKLaboklab(48.1% -0.1131 0.0762)
OKLCHoklch(48.1% 0.136 146)
XYZxyz(6.5969, 12.1221, 3.9992)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157128 #71155E
analogous
#307115 #157128 #157156
triadic
#157128 #281571 #712815
tetradic
#157128 #153071 #71155E #715615
square
#157128 #153071 #71155E #715615
split-complementary
#157128 #561571 #711530
monochromatic
#051A09 #0B3D16 #157128 #1FA53A #29D74D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157128#FFFFFF#000000##FFFFFF
##1571281.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)
#736620
Deuteranopia (green-blind)
#695F2E
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #157128;
/* rgb */ color: rgb(21, 113, 40);
/* oklch */ color: oklch(48.1% 0.136 146.0);
Tailwind
colors: {
  custom: {
    50: '#649b65',
    500: '#157128',
    950: '#000000',
  },
}
SCSS
$custom: #157128;
$custom-light: #649b65;
$custom-dark: #000000;
JSON
{
  "hex": "#157128",
  "rgb": {
    "r": 21,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 132.391,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48102,
    "c": 0.13636,
    "h": 146
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#157128
secondary
#A73B91
accent
#3CC7EB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #157128

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

Preview Lab → · Contrast checker → · Palette generator →

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