#157B2B#157B2B

#157B2B is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.147 H 146.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#157B2B
RGBrgb(21, 123, 43)
HSLhsl(133, 71%, 28%)
HSVhsv(133, 83%, 48%)
CMYKcmyk(82.9%, 0%, 65%, 51.8%)
CIE-LABlab(44.94, -45.13, 35.06)
CIE-LCHlch(44.94, 57.15, 142.16°)
OKLaboklab(51.04% -0.1215 0.082)
OKLCHoklch(51.04% 0.147 146)
XYZxyz(7.8277, 14.4988, 4.6710)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B2B #7B1565
analogous
#327B15 #157B2B #157B5E
triadic
#157B2B #2B157B #7B2B15
tetradic
#157B2B #15327B #7B1565 #7B5E15
square
#157B2B #15327B #7B1565 #7B5E15
split-complementary
#157B2B #5E157B #7B1532
monochromatic
#041A09 #0C4719 #157B2B #1EAF3D #2FDB54

Accessibility & contrast

On white

5.38
#157B2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#157B2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B2B
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B2B#FFFFFF#000000##FFFFFF
##157B2B1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F22
Deuteranopia (green-blind)
#726732
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b2b;
/* rgb */ color: rgb(21, 123, 43);
/* oklch */ color: oklch(51.0% 0.147 146.0);
Tailwind
colors: {
  custom: {
    50: '#67a268',
    500: '#157b2b',
    950: '#000000',
  },
}
SCSS
$custom: #157b2b;
$custom-light: #67a268;
$custom-dark: #000000;
JSON
{
  "hex": "#157b2b",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 132.941,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51043,
    "c": 0.1466,
    "h": 146
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#157B2B
secondary
#B03B97
accent
#3AC7EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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