#157F35#157F35

#157F35 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.143 H 148.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#157F35
RGBrgb(21, 127, 53)
HSLhsl(138, 72%, 29%)
HSVhsv(138, 83%, 50%)
CMYKcmyk(83.5%, 0%, 58.3%, 50.2%)
CIE-LABlab(46.44, -45.18, 31.85)
CIE-LCHlch(46.44, 55.28, 144.81°)
OKLaboklab(52.32% -0.1213 0.076)
OKLCHoklch(52.32% 0.143 148)
XYZxyz(8.5405, 15.5942, 5.9273)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F35 #7F155F
analogous
#2A7F15 #157F35 #157F6A
triadic
#157F35 #35157F #7F3515
tetradic
#157F35 #152A7F #7F155F #7F6A15
square
#157F35 #152A7F #7F155F #7F6A15
split-complementary
#157F35 #6A157F #7F152A
monochromatic
#041A0B #0C4A1F #157F35 #1EB44B #31DD65

Accessibility & contrast

On white

5.10
#157F35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#157F35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F35
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F35#FFFFFF#000000##FFFFFF
##157F351.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732E
Deuteranopia (green-blind)
#756B3B
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f35;
/* rgb */ color: rgb(21, 127, 53);
/* oklch */ color: oklch(52.3% 0.143 148.0);
Tailwind
colors: {
  custom: {
    50: '#67a56e',
    500: '#157f35',
    950: '#000000',
  },
}
SCSS
$custom: #157f35;
$custom-light: #67a56e;
$custom-dark: #000000;
JSON
{
  "hex": "#157f35",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 53
  },
  "hsl": {
    "h": 138.113,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52323,
    "c": 0.14315,
    "h": 148
  },
  "luminance": 0.15595
}

Semantic roles & 50–950 ramp

primary
#157F35
secondary
#B43C90
accent
#39B8EE
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157F35

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

Preview Lab → · Contrast checker → · Palette generator →

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