#157B1D#157B1D

#157B1D is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.157 H 143.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#157B1D
RGBrgb(21, 123, 29)
HSLhsl(125, 71%, 28%)
HSVhsv(125, 83%, 48%)
CMYKcmyk(82.9%, 0%, 76.4%, 51.8%)
CIE-LABlab(44.82, -46.62, 41.01)
CIE-LCHlch(44.82, 62.09, 138.66°)
OKLaboklab(50.9% -0.1262 0.0929)
OKLCHoklch(50.9% 0.157 143.7)
XYZxyz(7.6135, 14.4131, 3.5429)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B1D #7B1573
analogous
#407B15 #157B1D #157B50
triadic
#157B1D #1D157B #7B1D15
tetradic
#157B1D #15407B #7B1573 #7B5015
square
#157B1D #15407B #7B1573 #7B5015
split-complementary
#157B1D #50157B #7B1540
monochromatic
#041A06 #0C4711 #157B1D #1EAF29 #2FDB3C

Accessibility & contrast

On white

5.41
#157B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#157B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B1D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B1D#FFFFFF#000000##FFFFFF
##157B1D1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0B
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b1d;
/* rgb */ color: rgb(21, 123, 29);
/* oklch */ color: oklch(50.9% 0.157 143.7);
Tailwind
colors: {
  custom: {
    50: '#68a260',
    500: '#157b1d',
    950: '#000000',
  },
}
SCSS
$custom: #157b1d;
$custom-light: #68a260;
$custom-dark: #000000;
JSON
{
  "hex": "#157b1d",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 124.706,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50904,
    "c": 0.15665,
    "h": 143.7
  },
  "luminance": 0.14414
}

Semantic roles & 50–950 ramp

primary
#157B1D
secondary
#B03BA7
accent
#3AE0EE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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