#157F46#157F46

#157F46 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.127 H 153.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#157F46
RGBrgb(21, 127, 70)
HSLhsl(148, 72%, 29%)
HSVhsv(148, 83%, 50%)
CMYKcmyk(83.5%, 0%, 44.9%, 50.2%)
CIE-LABlab(46.68, -42.26, 23.06)
CIE-LCHlch(46.68, 48.14, 151.39°)
OKLaboklab(52.61% -0.1136 0.057)
OKLCHoklch(52.61% 0.127 153.4)
XYZxyz(9.0033, 15.7793, 8.3644)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F46 #7F154E
analogous
#197F15 #157F46 #157F7B
triadic
#157F46 #46157F #7F4615
tetradic
#157F46 #15197F #7F154E #7F7B15
square
#157F46 #15197F #7F154E #7F7B15
split-complementary
#157F46 #7B157F #7F1519
monochromatic
#041A0E #0C4A29 #157F46 #1EB463 #31DD81

Accessibility & contrast

On white

5.05
#157F46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#157F46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F46
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F46#FFFFFF#000000##FFFFFF
##157F461.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7442
Deuteranopia (green-blind)
#736B4A
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #157f46;
/* rgb */ color: rgb(21, 127, 70);
/* oklch */ color: oklch(52.6% 0.127 153.4);
Tailwind
colors: {
  custom: {
    50: '#67a57a',
    500: '#157f46',
    950: '#000000',
  },
}
SCSS
$custom: #157f46;
$custom-light: #67a57a;
$custom-dark: #000000;
JSON
{
  "hex": "#157f46",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 70
  },
  "hsl": {
    "h": 147.736,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.12708,
    "h": 153.4
  },
  "luminance": 0.1578
}

Semantic roles & 50–950 ramp

primary
#157F46
secondary
#B43C7C
accent
#399BEE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #157F46

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

Preview Lab → · Contrast checker → · Palette generator →

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