#157C28#157C28

#157C28 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.150 H 145.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#157C28
RGBrgb(21, 124, 40)
HSLhsl(131, 71%, 28%)
HSVhsv(131, 83%, 49%)
CMYKcmyk(83.1%, 0%, 67.7%, 51.4%)
CIE-LABlab(45.26, -45.84, 36.81)
CIE-LCHlch(45.26, 58.79, 141.24°)
OKLaboklab(51.3% -0.1236 0.0854)
OKLCHoklch(51.3% 0.15 145.3)
XYZxyz(7.8993, 14.7270, 4.4333)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C28 #7C1569
analogous
#357C15 #157C28 #157C5B
triadic
#157C28 #28157C #7C2815
tetradic
#157C28 #15357C #7C1569 #7C5B15
square
#157C28 #15357C #7C1569 #7C5B15
split-complementary
#157C28 #5B157C #7C1535
monochromatic
#041A08 #0C4817 #157C28 #1EB039 #30DC4F

Accessibility & contrast

On white

5.32
#157C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#157C28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C28
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C28#FFFFFF#000000##FFFFFF
##157C281.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701D
Deuteranopia (green-blind)
#736830
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c28;
/* rgb */ color: rgb(21, 124, 40);
/* oklch */ color: oklch(51.3% 0.150 145.3);
Tailwind
colors: {
  custom: {
    50: '#67a366',
    500: '#157c28',
    950: '#000000',
  },
}
SCSS
$custom: #157c28;
$custom-light: #67a366;
$custom-dark: #000000;
JSON
{
  "hex": "#157c28",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 131.068,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51298,
    "c": 0.15022,
    "h": 145.3
  },
  "luminance": 0.14728
}

Semantic roles & 50–950 ramp

primary
#157C28
secondary
#B13C9C
accent
#3ACDEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157C28

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

Preview Lab → · Contrast checker → · Palette generator →

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