#157B34#157B34

#157B34 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.139 H 148.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#157B34
RGBrgb(21, 123, 52)
HSLhsl(138, 71%, 28%)
HSVhsv(138, 83%, 48%)
CMYKcmyk(82.9%, 0%, 57.7%, 51.8%)
CIE-LABlab(45.04, -43.89, 30.70)
CIE-LCHlch(45.04, 53.56, 145.03°)
OKLaboklab(51.16% -0.1179 0.0734)
OKLCHoklch(51.16% 0.139 148.1)
XYZxyz(8.0114, 14.5723, 5.6387)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B34 #7B155C
analogous
#297B15 #157B34 #157B67
triadic
#157B34 #34157B #7B3415
tetradic
#157B34 #15297B #7B155C #7B6715
square
#157B34 #15297B #7B155C #7B6715
split-complementary
#157B34 #67157B #7B1529
monochromatic
#041A0B #0C471E #157B34 #1EAF4A #2FDB63

Accessibility & contrast

On white

5.36
#157B34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#157B34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B34
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B34#FFFFFF#000000##FFFFFF
##157B341.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2D
Deuteranopia (green-blind)
#71673A
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157b34;
/* rgb */ color: rgb(21, 123, 52);
/* oklch */ color: oklch(51.2% 0.139 148.1);
Tailwind
colors: {
  custom: {
    50: '#66a26d',
    500: '#157b34',
    950: '#000000',
  },
}
SCSS
$custom: #157b34;
$custom-light: #66a26d;
$custom-dark: #000000;
JSON
{
  "hex": "#157b34",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 52
  },
  "hsl": {
    "h": 138.235,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51161,
    "c": 0.13885,
    "h": 148.1
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#157B34
secondary
#B03B8D
accent
#3AB7EE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157B34

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

Preview Lab → · Contrast checker → · Palette generator →

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