#157D26#157D26

#157D26 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.153 H 144.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#157D26
RGBrgb(21, 125, 38)
HSLhsl(130, 71%, 29%)
HSVhsv(130, 83%, 49%)
CMYKcmyk(83.2%, 0%, 69.6%, 51%)
CIE-LABlab(45.59, -46.41, 38.07)
CIE-LCHlch(45.59, 60.03, 140.64°)
OKLaboklab(51.57% -0.1252 0.0879)
OKLCHoklch(51.57% 0.153 144.9)
XYZxyz(7.9922, 14.9656, 4.3008)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D26 #7D156C
analogous
#387D15 #157D26 #157D5A
triadic
#157D26 #26157D #7D2615
tetradic
#157D26 #15387D #7D156C #7D5A15
square
#157D26 #15387D #7D156C #7D5A15
split-complementary
#157D26 #5A157D #7D1538
monochromatic
#041A08 #0C4916 #157D26 #1EB136 #30DC4C

Accessibility & contrast

On white

5.26
#157D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#157D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D26
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D26#FFFFFF#000000##FFFFFF
##157D261.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711A
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157d26;
/* rgb */ color: rgb(21, 125, 38);
/* oklch */ color: oklch(51.6% 0.153 144.9);
Tailwind
colors: {
  custom: {
    50: '#68a465',
    500: '#157d26',
    950: '#000000',
  },
}
SCSS
$custom: #157d26;
$custom-light: #68a465;
$custom-dark: #000000;
JSON
{
  "hex": "#157d26",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 129.808,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51565,
    "c": 0.15294,
    "h": 144.9
  },
  "luminance": 0.14967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #157D26

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

Preview Lab → · Contrast checker → · Palette generator →

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