#157E23#157E23

#157E23 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.156 H 144.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#157E23
RGBrgb(21, 126, 35)
HSLhsl(128, 71%, 29%)
HSVhsv(128, 83%, 49%)
CMYKcmyk(83.3%, 0%, 72.2%, 50.6%)
CIE-LABlab(45.91, -47.06, 39.71)
CIE-LCHlch(45.91, 61.58, 139.84°)
OKLaboklab(51.83% -0.1271 0.0909)
OKLCHoklch(51.83% 0.156 144.4)
XYZxyz(8.0729, 15.2015, 4.0985)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E23 #7E1570
analogous
#3C7E15 #157E23 #157E58
triadic
#157E23 #23157E #7E2315
tetradic
#157E23 #153C7E #7E1570 #7E5815
square
#157E23 #153C7E #7E1570 #7E5815
split-complementary
#157E23 #58157E #7E153C
monochromatic
#041A07 #0C4A14 #157E23 #1EB232 #31DD48

Accessibility & contrast

On white

5.20
#157E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#157E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E23
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E23#FFFFFF#000000##FFFFFF
##157E231.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807115
Deuteranopia (green-blind)
#756A2C
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e23;
/* rgb */ color: rgb(21, 126, 35);
/* oklch */ color: oklch(51.8% 0.156 144.4);
Tailwind
colors: {
  custom: {
    50: '#68a463',
    500: '#157e23',
    950: '#000000',
  },
}
SCSS
$custom: #157e23;
$custom-light: #68a463;
$custom-dark: #000000;
JSON
{
  "hex": "#157e23",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 128,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51825,
    "c": 0.15628,
    "h": 144.4
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#157E23
secondary
#B33CA3
accent
#3AD6EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #157E23

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

Preview Lab → · Contrast checker → · Palette generator →

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