#157538#157538

#157538 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.127 H 150.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#157538
RGBrgb(21, 117, 56)
HSLhsl(142, 70%, 27%)
HSVhsv(142, 82%, 46%)
CMYKcmyk(82.1%, 0%, 52.1%, 54.1%)
CIE-LABlab(43.01, -41.02, 26.09)
CIE-LCHlch(43.01, 48.62, 147.54°)
OKLaboklab(49.5% -0.1102 0.0634)
OKLCHoklch(49.5% 0.127 150.1)
XYZxyz(7.3837, 13.1666, 5.8929)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157538 #751552
analogous
#227515 #157538 #157568
triadic
#157538 #381575 #753815
tetradic
#157538 #152275 #751552 #756815
square
#157538 #152275 #751552 #756815
split-complementary
#157538 #681575 #751522
monochromatic
#051A0C #0C411F #157538 #1EA951 #2BD96B

Accessibility & contrast

On white

5.78
#157538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#157538 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157538
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157538#FFFFFF#000000##FFFFFF
##1575381.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A33
Deuteranopia (green-blind)
#6B633C
Tritanopia (blue-blind)
#007367
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #157538;
/* rgb */ color: rgb(21, 117, 56);
/* oklch */ color: oklch(49.5% 0.127 150.1);
Tailwind
colors: {
  custom: {
    50: '#659e70',
    500: '#157538',
    950: '#000000',
  },
}
SCSS
$custom: #157538;
$custom-light: #659e70;
$custom-dark: #000000;
JSON
{
  "hex": "#157538",
  "rgb": {
    "r": 21,
    "g": 117,
    "b": 56
  },
  "hsl": {
    "h": 141.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49497,
    "c": 0.12708,
    "h": 150.1
  },
  "luminance": 0.13168
}

Semantic roles & 50–950 ramp

primary
#157538
secondary
#AB3B82
accent
#3BACEC
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #157538

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

Preview Lab → · Contrast checker → · Palette generator →

#157538 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva