#157B29#157B29

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

Color values

HEX#157B29
RGBrgb(21, 123, 41)
HSLhsl(132, 71%, 28%)
HSVhsv(132, 83%, 48%)
CMYKcmyk(82.9%, 0%, 66.7%, 51.8%)
CIE-LABlab(44.92, -45.38, 35.98)
CIE-LCHlch(44.92, 57.91, 141.59°)
OKLaboklab(51.02% -0.1223 0.0838)
OKLCHoklch(51.02% 0.148 145.6)
XYZxyz(7.7919, 14.4845, 4.4825)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B29 #7B1567
analogous
#347B15 #157B29 #157B5C
triadic
#157B29 #29157B #7B2915
tetradic
#157B29 #15347B #7B1567 #7B5C15
square
#157B29 #15347B #7B1567 #7B5C15
split-complementary
#157B29 #5C157B #7B1534
monochromatic
#041A09 #0C4718 #157B29 #1EAF3A #2FDB51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157B29#FFFFFF#000000##FFFFFF
##157B291.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)
#7D6F1F
Deuteranopia (green-blind)
#726730
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b29;
/* rgb */ color: rgb(21, 123, 41);
/* oklch */ color: oklch(51.0% 0.148 145.6);
Tailwind
colors: {
  custom: {
    50: '#67a266',
    500: '#157b29',
    950: '#000000',
  },
}
SCSS
$custom: #157b29;
$custom-light: #67a266;
$custom-dark: #000000;
JSON
{
  "hex": "#157b29",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 41
  },
  "hsl": {
    "h": 131.765,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5102,
    "c": 0.1482,
    "h": 145.6
  },
  "luminance": 0.14485
}

Semantic roles & 50–950 ramp

primary
#157B29
secondary
#B03B99
accent
#3ACAEE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157B29

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

Preview Lab → · Contrast checker → · Palette generator →

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