#157A34#157A34

#157A34 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.138 H 148.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#157A34
RGBrgb(21, 122, 52)
HSLhsl(138, 71%, 28%)
HSVhsv(138, 83%, 48%)
CMYKcmyk(82.8%, 0%, 57.4%, 52.2%)
CIE-LABlab(44.70, -43.53, 30.28)
CIE-LCHlch(44.70, 53.02, 145.17°)
OKLaboklab(50.87% -0.1169 0.0724)
OKLCHoklch(50.87% 0.138 148.2)
XYZxyz(7.8880, 14.3255, 5.5975)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A34 #7A155B
analogous
#287A15 #157A34 #157A66
triadic
#157A34 #34157A #7A3415
tetradic
#157A34 #15287A #7A155B #7A6615
square
#157A34 #15287A #7A155B #7A6615
split-complementary
#157A34 #66157A #7A1528
monochromatic
#041A0B #0C461E #157A34 #1EAE4A #2EDB63

Accessibility & contrast

On white

5.43
#157A34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#157A34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A34
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A34#FFFFFF#000000##FFFFFF
##157A341.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2D
Deuteranopia (green-blind)
#706739
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157a34;
/* rgb */ color: rgb(21, 122, 52);
/* oklch */ color: oklch(50.9% 0.138 148.2);
Tailwind
colors: {
  custom: {
    50: '#66a16d',
    500: '#157a34',
    950: '#000000',
  },
}
SCSS
$custom: #157a34;
$custom-light: #66a16d;
$custom-dark: #000000;
JSON
{
  "hex": "#157a34",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 52
  },
  "hsl": {
    "h": 138.416,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50874,
    "c": 0.13754,
    "h": 148.2
  },
  "luminance": 0.14326
}

Semantic roles & 50–950 ramp

primary
#157A34
secondary
#AF3B8C
accent
#3AB6ED
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157A34

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

Preview Lab → · Contrast checker → · Palette generator →

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