#157B1A#157B1A

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

Color values

HEX#157B1A
RGBrgb(21, 123, 26)
HSLhsl(123, 71%, 28%)
HSVhsv(123, 83%, 48%)
CMYKcmyk(82.9%, 0%, 78.9%, 51.8%)
CIE-LABlab(44.80, -46.87, 42.11)
CIE-LCHlch(44.80, 63.01, 138.06°)
OKLaboklab(50.88% -0.127 0.0947)
OKLCHoklch(50.88% 0.158 143.3)
XYZxyz(7.5782, 14.3990, 3.3570)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B1A #7B1576
analogous
#437B15 #157B1A #157B4D
triadic
#157B1A #1A157B #7B1A15
tetradic
#157B1A #15437B #7B1576 #7B4D15
square
#157B1A #15437B #7B1576 #7B4D15
split-complementary
#157B1A #4D157B #7B1543
monochromatic
#041A06 #0C470F #157B1A #1EAF25 #2FDB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157B1A#FFFFFF#000000##FFFFFF
##157B1A1.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)
#7E6F04
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b1a;
/* rgb */ color: rgb(21, 123, 26);
/* oklch */ color: oklch(50.9% 0.158 143.3);
Tailwind
colors: {
  custom: {
    50: '#68a25e',
    500: '#157b1a',
    950: '#000000',
  },
}
SCSS
$custom: #157b1a;
$custom-light: #68a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#157b1a",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 122.941,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.15842,
    "h": 143.3
  },
  "luminance": 0.144
}

Semantic roles & 50–950 ramp

primary
#157B1A
secondary
#B03BAB
accent
#3AE5EE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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