#157B26#157B26

#157B26 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.150 H 145.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#157B26
RGBrgb(21, 123, 38)
HSLhsl(130, 71%, 28%)
HSVhsv(130, 83%, 48%)
CMYKcmyk(82.9%, 0%, 69.1%, 51.8%)
CIE-LABlab(44.89, -45.73, 37.32)
CIE-LCHlch(44.89, 59.02, 140.78°)
OKLaboklab(50.99% -0.1233 0.0863)
OKLCHoklch(50.99% 0.151 145)
XYZxyz(7.7415, 14.4643, 4.2172)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B26 #7B156A
analogous
#377B15 #157B26 #157B59
triadic
#157B26 #26157B #7B2615
tetradic
#157B26 #15377B #7B156A #7B5915
square
#157B26 #15377B #7B156A #7B5915
split-complementary
#157B26 #59157B #7B1537
monochromatic
#041A08 #0C4716 #157B26 #1EAF36 #2FDB4C

Accessibility & contrast

On white

5.39
#157B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#157B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B26
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B26#FFFFFF#000000##FFFFFF
##157B261.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1B
Deuteranopia (green-blind)
#72672E
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b26;
/* rgb */ color: rgb(21, 123, 38);
/* oklch */ color: oklch(51.0% 0.150 145.0);
Tailwind
colors: {
  custom: {
    50: '#67a265',
    500: '#157b26',
    950: '#000000',
  },
}
SCSS
$custom: #157b26;
$custom-light: #67a265;
$custom-dark: #000000;
JSON
{
  "hex": "#157b26",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 130,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50987,
    "c": 0.1505,
    "h": 145
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#157B26
secondary
#B03B9D
accent
#3AD0EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157B26

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

Preview Lab → · Contrast checker → · Palette generator →

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