#157B19#157B19

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

Color values

HEX#157B19
RGBrgb(21, 123, 25)
HSLhsl(122, 71%, 28%)
HSVhsv(122, 83%, 48%)
CMYKcmyk(82.9%, 0%, 79.7%, 51.8%)
CIE-LABlab(44.79, -46.94, 42.47)
CIE-LCHlch(44.79, 63.30, 137.87°)
OKLaboklab(50.87% -0.1272 0.0953)
OKLCHoklch(50.87% 0.159 143.2)
XYZxyz(7.5672, 14.3946, 3.2991)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B19 #7B1577
analogous
#447B15 #157B19 #157B4C
triadic
#157B19 #19157B #7B1915
tetradic
#157B19 #15447B #7B1577 #7B4C15
square
#157B19 #15447B #7B1577 #7B4C15
split-complementary
#157B19 #4C157B #7B1544
monochromatic
#041A05 #0C470E #157B19 #1EAF24 #2FDB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157B19#FFFFFF#000000##FFFFFF
##157B191.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)
#7E6F02
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b19;
/* rgb */ color: rgb(21, 123, 25);
/* oklch */ color: oklch(50.9% 0.159 143.2);
Tailwind
colors: {
  custom: {
    50: '#68a25e',
    500: '#157b19',
    950: '#000000',
  },
}
SCSS
$custom: #157b19;
$custom-light: #68a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#157b19",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 122.353,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50874,
    "c": 0.15898,
    "h": 143.2
  },
  "luminance": 0.14396
}

Semantic roles & 50–950 ramp

primary
#157B19
secondary
#B03BAC
accent
#3AE7EE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157B19

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

Preview Lab → · Contrast checker → · Palette generator →

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