#157F26#157F26

#157F26 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.155 H 144.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#157F26
RGBrgb(21, 127, 38)
HSLhsl(130, 72%, 29%)
HSVhsv(130, 83%, 50%)
CMYKcmyk(83.5%, 0%, 70.1%, 50.2%)
CIE-LABlab(46.28, -47.09, 38.82)
CIE-LCHlch(46.28, 61.03, 140.50°)
OKLaboklab(52.14% -0.127 0.0894)
OKLCHoklch(52.14% 0.155 144.9)
XYZxyz(8.2479, 15.4771, 4.3860)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F26 #7F156E
analogous
#397F15 #157F26 #157F5B
triadic
#157F26 #26157F #7F2615
tetradic
#157F26 #15397F #7F156E #7F5B15
square
#157F26 #15397F #7F156E #7F5B15
split-complementary
#157F26 #5B157F #7F1539
monochromatic
#041A08 #0C4A16 #157F26 #1EB436 #31DD4D

Accessibility & contrast

On white

5.13
#157F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#157F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F26
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F26#FFFFFF#000000##FFFFFF
##157F261.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f26;
/* rgb */ color: rgb(21, 127, 38);
/* oklch */ color: oklch(52.1% 0.155 144.9);
Tailwind
colors: {
  custom: {
    50: '#68a565',
    500: '#157f26',
    950: '#000000',
  },
}
SCSS
$custom: #157f26;
$custom-light: #68a565;
$custom-dark: #000000;
JSON
{
  "hex": "#157f26",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 129.623,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52142,
    "c": 0.15536,
    "h": 144.9
  },
  "luminance": 0.15478
}

Semantic roles & 50–950 ramp

primary
#157F26
secondary
#B43CA1
accent
#39D1EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157F26

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

Preview Lab → · Contrast checker → · Palette generator →

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