#157B25#157B25

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

Color values

HEX#157B25
RGBrgb(21, 123, 37)
HSLhsl(129, 71%, 28%)
HSVhsv(129, 83%, 48%)
CMYKcmyk(82.9%, 0%, 69.9%, 51.8%)
CIE-LABlab(44.88, -45.84, 37.75)
CIE-LCHlch(44.88, 59.38, 140.52°)
OKLaboklab(50.98% -0.1237 0.0871)
OKLCHoklch(50.98% 0.151 144.9)
XYZxyz(7.7256, 14.4580, 4.1334)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B25 #7B156B
analogous
#387B15 #157B25 #157B58
triadic
#157B25 #25157B #7B2515
tetradic
#157B25 #15387B #7B156B #7B5815
square
#157B25 #15387B #7B156B #7B5815
split-complementary
#157B25 #58157B #7B1538
monochromatic
#041A08 #0C4715 #157B25 #1EAF35 #2FDB4A

Accessibility & contrast

On white

5.40
#157B25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157B25
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B25#FFFFFF#000000##FFFFFF
##157B251.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F19
Deuteranopia (green-blind)
#72672D
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b25;
/* rgb */ color: rgb(21, 123, 37);
/* oklch */ color: oklch(51.0% 0.151 144.9);
Tailwind
colors: {
  custom: {
    50: '#67a264',
    500: '#157b25',
    950: '#000000',
  },
}
SCSS
$custom: #157b25;
$custom-light: #67a264;
$custom-dark: #000000;
JSON
{
  "hex": "#157b25",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 129.412,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50977,
    "c": 0.15125,
    "h": 144.9
  },
  "luminance": 0.14459
}

Semantic roles & 50–950 ramp

primary
#157B25
secondary
#B03B9E
accent
#3AD1EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157B25

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

Preview Lab → · Contrast checker → · Palette generator →

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