#157E35#157E35

#157E35 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.142 H 148.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#157E35
RGBrgb(21, 126, 53)
HSLhsl(138, 71%, 29%)
HSVhsv(138, 83%, 49%)
CMYKcmyk(83.3%, 0%, 57.9%, 50.6%)
CIE-LABlab(46.09, -44.82, 31.44)
CIE-LCHlch(46.09, 54.75, 144.95°)
OKLaboklab(52.04% -0.1204 0.0751)
OKLCHoklch(52.04% 0.142 148.1)
XYZxyz(8.4120, 15.3371, 5.8845)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E35 #7E155E
analogous
#297E15 #157E35 #157E6A
triadic
#157E35 #35157E #7E3515
tetradic
#157E35 #15297E #7E155E #7E6A15
square
#157E35 #15297E #7E155E #7E6A15
split-complementary
#157E35 #6A157E #7E1529
monochromatic
#041A0B #0C4A1F #157E35 #1EB24B #31DD65

Accessibility & contrast

On white

5.16
#157E35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#157E35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E35
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E35#FFFFFF#000000##FFFFFF
##157E351.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722E
Deuteranopia (green-blind)
#746A3B
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e35;
/* rgb */ color: rgb(21, 126, 53);
/* oklch */ color: oklch(52.0% 0.142 148.1);
Tailwind
colors: {
  custom: {
    50: '#67a46e',
    500: '#157e35',
    950: '#000000',
  },
}
SCSS
$custom: #157e35;
$custom-light: #67a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#157e35",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 53
  },
  "hsl": {
    "h": 138.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.14186,
    "h": 148.1
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #157E35

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

Preview Lab → · Contrast checker → · Palette generator →

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