#157338#157338

#157338 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.124 H 150.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#157338
RGBrgb(21, 115, 56)
HSLhsl(142, 69%, 27%)
HSVhsv(142, 82%, 45%)
CMYKcmyk(81.7%, 0%, 51.3%, 54.9%)
CIE-LABlab(42.32, -40.26, 25.22)
CIE-LCHlch(42.32, 47.51, 147.93°)
OKLaboklab(48.92% -0.1081 0.0614)
OKLCHoklch(48.92% 0.124 150.4)
XYZxyz(7.1532, 12.7056, 5.8160)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157338 #731550
analogous
#217315 #157338 #157367
triadic
#157338 #381573 #733815
tetradic
#157338 #152173 #731550 #736715
square
#157338 #152173 #731550 #736715
split-complementary
#157338 #671573 #731521
monochromatic
#051A0D #0C3F1F #157338 #1EA751 #2AD86B

Accessibility & contrast

On white

5.93
#157338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#157338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157338
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157338#FFFFFF#000000##FFFFFF
##1573381.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746833
Deuteranopia (green-blind)
#69613C
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #157338;
/* rgb */ color: rgb(21, 115, 56);
/* oklch */ color: oklch(48.9% 0.124 150.4);
Tailwind
colors: {
  custom: {
    50: '#649c70',
    500: '#157338',
    950: '#000000',
  },
}
SCSS
$custom: #157338;
$custom-light: #649c70;
$custom-dark: #000000;
JSON
{
  "hex": "#157338",
  "rgb": {
    "r": 21,
    "g": 115,
    "b": 56
  },
  "hsl": {
    "h": 142.34,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4892,
    "c": 0.12434,
    "h": 150.4
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#157338
secondary
#A93B80
accent
#3CAAEC
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #157338

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

Preview Lab → · Contrast checker → · Palette generator →

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