#157F23#157F23

#157F23 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.157 H 144.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#157F23
RGBrgb(21, 127, 35)
HSLhsl(128, 72%, 29%)
HSVhsv(128, 83%, 50%)
CMYKcmyk(83.5%, 0%, 72.4%, 50.2%)
CIE-LABlab(46.26, -47.40, 40.08)
CIE-LCHlch(46.26, 62.07, 139.78°)
OKLaboklab(52.11% -0.128 0.0917)
OKLCHoklch(52.11% 0.157 144.4)
XYZxyz(8.2014, 15.4585, 4.1413)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F23 #7F1571
analogous
#3C7F15 #157F23 #157F58
triadic
#157F23 #23157F #7F2315
tetradic
#157F23 #153C7F #7F1571 #7F5815
square
#157F23 #153C7F #7F1571 #7F5815
split-complementary
#157F23 #58157F #7F153C
monochromatic
#041A07 #0C4A15 #157F23 #1EB431 #31DD48

Accessibility & contrast

On white

5.13
#157F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#157F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F23
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F23#FFFFFF#000000##FFFFFF
##157F231.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#766B2C
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f23;
/* rgb */ color: rgb(21, 127, 35);
/* oklch */ color: oklch(52.1% 0.157 144.4);
Tailwind
colors: {
  custom: {
    50: '#68a563',
    500: '#157f23',
    950: '#000000',
  },
}
SCSS
$custom: #157f23;
$custom-light: #68a563;
$custom-dark: #000000;
JSON
{
  "hex": "#157f23",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 127.925,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52113,
    "c": 0.15747,
    "h": 144.4
  },
  "luminance": 0.1546
}

Semantic roles & 50–950 ramp

primary
#157F23
secondary
#B43CA4
accent
#39D6EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157F23

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

Preview Lab → · Contrast checker → · Palette generator →

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