#157C34#157C34

#157C34 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.140 H 148.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#157C34
RGBrgb(21, 124, 52)
HSLhsl(138, 71%, 28%)
HSVhsv(138, 83%, 49%)
CMYKcmyk(83.1%, 0%, 58.1%, 51.4%)
CIE-LABlab(45.39, -44.25, 31.11)
CIE-LCHlch(45.39, 54.09, 144.89°)
OKLaboklab(51.45% -0.1189 0.0743)
OKLCHoklch(51.45% 0.14 148)
XYZxyz(8.1361, 14.8217, 5.6802)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C34 #7C155D
analogous
#2A7C15 #157C34 #157C67
triadic
#157C34 #34157C #7C3415
tetradic
#157C34 #152A7C #7C155D #7C6715
square
#157C34 #152A7C #7C155D #7C6715
split-complementary
#157C34 #67157C #7C152A
monochromatic
#041A0B #0C481E #157C34 #1EB04A #30DC63

Accessibility & contrast

On white

5.30
#157C34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#157C34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C34
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C34#FFFFFF#000000##FFFFFF
##157C341.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702D
Deuteranopia (green-blind)
#72683A
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c34;
/* rgb */ color: rgb(21, 124, 52);
/* oklch */ color: oklch(51.4% 0.140 148.0);
Tailwind
colors: {
  custom: {
    50: '#67a36d',
    500: '#157c34',
    950: '#000000',
  },
}
SCSS
$custom: #157c34;
$custom-light: #67a36d;
$custom-dark: #000000;
JSON
{
  "hex": "#157c34",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 52
  },
  "hsl": {
    "h": 138.058,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51449,
    "c": 0.14015,
    "h": 148
  },
  "luminance": 0.14823
}

Semantic roles & 50–950 ramp

primary
#157C34
secondary
#B13C8E
accent
#3AB8EE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157C34

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

Preview Lab → · Contrast checker → · Palette generator →

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