#157B28#157B28

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

Color values

HEX#157B28
RGBrgb(21, 123, 40)
HSLhsl(131, 71%, 28%)
HSVhsv(131, 83%, 48%)
CMYKcmyk(82.9%, 0%, 67.5%, 51.8%)
CIE-LABlab(44.91, -45.50, 36.43)
CIE-LCHlch(44.91, 58.28, 141.32°)
OKLaboklab(51.01% -0.1226 0.0846)
OKLCHoklch(51.01% 0.149 145.4)
XYZxyz(7.7747, 14.4776, 4.3918)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B28 #7B1568
analogous
#357B15 #157B28 #157B5B
triadic
#157B28 #28157B #7B2815
tetradic
#157B28 #15357B #7B1568 #7B5B15
square
#157B28 #15357B #7B1568 #7B5B15
split-complementary
#157B28 #5B157B #7B1535
monochromatic
#041A08 #0C4717 #157B28 #1EAF39 #2FDB4F

Accessibility & contrast

On white

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

On black

3.90
#157B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##157B28#FFFFFF#000000##FFFFFF
##157B281.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157b28;
/* rgb */ color: rgb(21, 123, 40);
/* oklch */ color: oklch(51.0% 0.149 145.4);
Tailwind
colors: {
  custom: {
    50: '#67a266',
    500: '#157b28',
    950: '#000000',
  },
}
SCSS
$custom: #157b28;
$custom-light: #67a266;
$custom-dark: #000000;
JSON
{
  "hex": "#157b28",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 131.176,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51009,
    "c": 0.14899,
    "h": 145.4
  },
  "luminance": 0.14479
}

Semantic roles & 50–950 ramp

primary
#157B28
secondary
#B03B9B
accent
#3ACCEE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157B28

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

Preview Lab → · Contrast checker → · Palette generator →

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