#157B23#157B23

#157B23 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.153 H 144.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#157B23
RGBrgb(21, 123, 35)
HSLhsl(128, 71%, 28%)
HSVhsv(128, 83%, 48%)
CMYKcmyk(82.9%, 0%, 71.5%, 51.8%)
CIE-LABlab(44.87, -46.05, 38.61)
CIE-LCHlch(44.87, 60.09, 140.02°)
OKLaboklab(50.96% -0.1243 0.0886)
OKLCHoklch(50.96% 0.153 144.5)
XYZxyz(7.6951, 14.4458, 3.9725)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B23 #7B156D
analogous
#3A7B15 #157B23 #157B56
triadic
#157B23 #23157B #7B2315
tetradic
#157B23 #153A7B #7B156D #7B5615
square
#157B23 #153A7B #7B156D #7B5615
split-complementary
#157B23 #56157B #7B153A
monochromatic
#041A07 #0C4714 #157B23 #1EAF32 #2FDB47

Accessibility & contrast

On white

5.40
#157B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#157B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B23
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B23#FFFFFF#000000##FFFFFF
##157B231.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F16
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b23;
/* rgb */ color: rgb(21, 123, 35);
/* oklch */ color: oklch(51.0% 0.153 144.5);
Tailwind
colors: {
  custom: {
    50: '#67a263',
    500: '#157b23',
    950: '#000000',
  },
}
SCSS
$custom: #157b23;
$custom-light: #67a263;
$custom-dark: #000000;
JSON
{
  "hex": "#157b23",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 128.235,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.15268,
    "h": 144.5
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #157B23

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

Preview Lab → · Contrast checker → · Palette generator →

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