#157C26#157C26

#157C26 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.152 H 145.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#157C26
RGBrgb(21, 124, 38)
HSLhsl(130, 71%, 28%)
HSVhsv(130, 83%, 49%)
CMYKcmyk(83.1%, 0%, 69.4%, 51.4%)
CIE-LABlab(45.24, -46.07, 37.70)
CIE-LCHlch(45.24, 59.53, 140.71°)
OKLaboklab(51.28% -0.1243 0.0871)
OKLCHoklch(51.28% 0.152 145)
XYZxyz(7.8662, 14.7137, 4.2588)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C26 #7C156B
analogous
#377C15 #157C26 #157C59
triadic
#157C26 #26157C #7C2615
tetradic
#157C26 #15377C #7C156B #7C5915
square
#157C26 #15377C #7C156B #7C5915
split-complementary
#157C26 #59157C #7C1537
monochromatic
#041A08 #0C4816 #157C26 #1EB036 #30DC4C

Accessibility & contrast

On white

5.33
#157C26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#157C26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C26
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C26#FFFFFF#000000##FFFFFF
##157C261.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701B
Deuteranopia (green-blind)
#73682E
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c26;
/* rgb */ color: rgb(21, 124, 38);
/* oklch */ color: oklch(51.3% 0.152 145.0);
Tailwind
colors: {
  custom: {
    50: '#67a365',
    500: '#157c26',
    950: '#000000',
  },
}
SCSS
$custom: #157c26;
$custom-light: #67a365;
$custom-dark: #000000;
JSON
{
  "hex": "#157c26",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 38
  },
  "hsl": {
    "h": 129.903,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.15173,
    "h": 145
  },
  "luminance": 0.14715
}

Semantic roles & 50–950 ramp

primary
#157C26
secondary
#B13C9E
accent
#3AD0EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157C26

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

Preview Lab → · Contrast checker → · Palette generator →

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