#157E26#157E26

#157E26 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.154 H 144.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#157E26
RGBrgb(21, 126, 38)
HSLhsl(130, 71%, 29%)
HSVhsv(130, 83%, 49%)
CMYKcmyk(83.3%, 0%, 69.8%, 50.6%)
CIE-LABlab(45.93, -46.75, 38.45)
CIE-LCHlch(45.93, 60.53, 140.57°)
OKLaboklab(51.85% -0.1261 0.0886)
OKLCHoklch(51.85% 0.154 144.9)
XYZxyz(8.1194, 15.2201, 4.3432)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E26 #7E156D
analogous
#397E15 #157E26 #157E5B
triadic
#157E26 #26157E #7E2615
tetradic
#157E26 #15397E #7E156D #7E5B15
square
#157E26 #15397E #7E156D #7E5B15
split-complementary
#157E26 #5B157E #7E1539
monochromatic
#041A08 #0C4A16 #157E26 #1EB236 #31DD4D

Accessibility & contrast

On white

5.19
#157E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#157E26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E26
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E26#FFFFFF#000000##FFFFFF
##157E261.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721A
Deuteranopia (green-blind)
#756A2E
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e26;
/* rgb */ color: rgb(21, 126, 38);
/* oklch */ color: oklch(51.9% 0.154 144.9);
Tailwind
colors: {
  custom: {
    50: '#68a465',
    500: '#157e26',
    950: '#000000',
  },
}
SCSS
$custom: #157e26;
$custom-light: #68a465;
$custom-dark: #000000;
JSON
{
  "hex": "#157e26",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 129.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51854,
    "c": 0.15415,
    "h": 144.9
  },
  "luminance": 0.15221
}

Semantic roles & 50–950 ramp

primary
#157E26
secondary
#B33CA0
accent
#3AD1EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157E26

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

Preview Lab → · Contrast checker → · Palette generator →

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