#157A26#157A26

#157A26 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.149 H 145.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#157A26
RGBrgb(21, 122, 38)
HSLhsl(130, 71%, 28%)
HSVhsv(130, 83%, 48%)
CMYKcmyk(82.8%, 0%, 68.9%, 52.2%)
CIE-LABlab(44.54, -45.38, 36.94)
CIE-LCHlch(44.54, 58.52, 140.86°)
OKLaboklab(50.7% -0.1224 0.0855)
OKLCHoklch(50.7% 0.149 145.1)
XYZxyz(7.6181, 14.2175, 4.1761)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A26 #7A1569
analogous
#367A15 #157A26 #157A58
triadic
#157A26 #26157A #7A2615
tetradic
#157A26 #15367A #7A1569 #7A5815
square
#157A26 #15367A #7A1569 #7A5815
split-complementary
#157A26 #58157A #7A1536
monochromatic
#041A08 #0C4616 #157A26 #1EAE36 #2EDB4B

Accessibility & contrast

On white

5.46
#157A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#157A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##157A26#FFFFFF#000000##FFFFFF
##157A261.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)
#7C6E1B
Deuteranopia (green-blind)
#71662E
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a26;
/* rgb */ color: rgb(21, 122, 38);
/* oklch */ color: oklch(50.7% 0.149 145.1);
Tailwind
colors: {
  custom: {
    50: '#67a164',
    500: '#157a26',
    950: '#000000',
  },
}
SCSS
$custom: #157a26;
$custom-light: #67a164;
$custom-dark: #000000;
JSON
{
  "hex": "#157a26",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 130.099,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50698,
    "c": 0.14928,
    "h": 145.1
  },
  "luminance": 0.14218
}

Semantic roles & 50–950 ramp

primary
#157A26
secondary
#AF3B9C
accent
#3ACFED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157A26

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

Preview Lab → · Contrast checker → · Palette generator →

#157A26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva