#157F25#157F25

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

Color values

HEX#157F25
RGBrgb(21, 127, 37)
HSLhsl(129, 72%, 29%)
HSVhsv(129, 83%, 50%)
CMYKcmyk(83.5%, 0%, 70.9%, 50.2%)
CIE-LABlab(46.27, -47.19, 39.25)
CIE-LCHlch(46.27, 61.38, 140.25°)
OKLaboklab(52.13% -0.1274 0.0902)
OKLCHoklch(52.13% 0.156 144.7)
XYZxyz(8.2320, 15.4707, 4.3022)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F25 #7F156F
analogous
#3A7F15 #157F25 #157F5A
triadic
#157F25 #25157F #7F2515
tetradic
#157F25 #153A7F #7F156F #7F5A15
square
#157F25 #153A7F #7F156F #7F5A15
split-complementary
#157F25 #5A157F #7F153A
monochromatic
#041A08 #0C4A16 #157F25 #1EB434 #31DD4B

Accessibility & contrast

On white

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

On black

4.09
#157F25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##157F25#FFFFFF#000000##FFFFFF
##157F251.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817218
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f25;
/* rgb */ color: rgb(21, 127, 37);
/* oklch */ color: oklch(52.1% 0.156 144.7);
Tailwind
colors: {
  custom: {
    50: '#68a564',
    500: '#157f25',
    950: '#000000',
  },
}
SCSS
$custom: #157f25;
$custom-light: #68a564;
$custom-dark: #000000;
JSON
{
  "hex": "#157f25",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 129.057,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.15607,
    "h": 144.7
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#157F25
secondary
#B43CA2
accent
#39D3EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157F25

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

Preview Lab → · Contrast checker → · Palette generator →

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