#157C23#157C23

#157C23 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.154 H 144.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#157C23
RGBrgb(21, 124, 35)
HSLhsl(128, 71%, 28%)
HSVhsv(128, 83%, 49%)
CMYKcmyk(83.1%, 0%, 71.8%, 51.4%)
CIE-LABlab(45.21, -46.39, 38.98)
CIE-LCHlch(45.21, 60.59, 139.96°)
OKLaboklab(51.25% -0.1253 0.0894)
OKLCHoklch(51.25% 0.154 144.5)
XYZxyz(7.8197, 14.6951, 4.0141)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C23 #7C156E
analogous
#3A7C15 #157C23 #157C56
triadic
#157C23 #23157C #7C2315
tetradic
#157C23 #153A7C #7C156E #7C5615
square
#157C23 #153A7C #7C156E #7C5615
split-complementary
#157C23 #56157C #7C153A
monochromatic
#041A07 #0C4814 #157C23 #1EB032 #30DC47

Accessibility & contrast

On white

5.33
#157C23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#157C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C23
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C23#FFFFFF#000000##FFFFFF
##157C231.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7016
Deuteranopia (green-blind)
#73682C
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c23;
/* rgb */ color: rgb(21, 124, 35);
/* oklch */ color: oklch(51.2% 0.154 144.5);
Tailwind
colors: {
  custom: {
    50: '#67a363',
    500: '#157c23',
    950: '#000000',
  },
}
SCSS
$custom: #157c23;
$custom-light: #67a363;
$custom-dark: #000000;
JSON
{
  "hex": "#157c23",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 128.155,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51247,
    "c": 0.15389,
    "h": 144.5
  },
  "luminance": 0.14696
}

Semantic roles & 50–950 ramp

primary
#157C23
secondary
#B13CA1
accent
#3AD5EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #157C23

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

Preview Lab → · Contrast checker → · Palette generator →

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