#157B1E#157B1E

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

Color values

HEX#157B1E
RGBrgb(21, 123, 30)
HSLhsl(125, 71%, 28%)
HSVhsv(125, 83%, 48%)
CMYKcmyk(82.9%, 0%, 75.6%, 51.8%)
CIE-LABlab(44.83, -46.53, 40.63)
CIE-LCHlch(44.83, 61.77, 138.87°)
OKLaboklab(50.91% -0.1259 0.0922)
OKLCHoklch(50.91% 0.156 143.8)
XYZxyz(7.6261, 14.4182, 3.6091)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B1E #7B1572
analogous
#3F7B15 #157B1E #157B51
triadic
#157B1E #1E157B #7B1E15
tetradic
#157B1E #153F7B #7B1572 #7B5115
square
#157B1E #153F7B #7B1572 #7B5115
split-complementary
#157B1E #51157B #7B153F
monochromatic
#041A06 #0C4711 #157B1E #1EAF2B #2FDB3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157B1E#FFFFFF#000000##FFFFFF
##157B1E1.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)
#7E6F0D
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b1e;
/* rgb */ color: rgb(21, 123, 30);
/* oklch */ color: oklch(50.9% 0.156 143.8);
Tailwind
colors: {
  custom: {
    50: '#67a260',
    500: '#157b1e',
    950: '#000000',
  },
}
SCSS
$custom: #157b1e;
$custom-light: #67a260;
$custom-dark: #000000;
JSON
{
  "hex": "#157b1e",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 125.294,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50912,
    "c": 0.15603,
    "h": 143.8
  },
  "luminance": 0.14419
}

Semantic roles & 50–950 ramp

primary
#157B1E
secondary
#B03BA6
accent
#3ADEEE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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