#157B1B#157B1B

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

Color values

HEX#157B1B
RGBrgb(21, 123, 27)
HSLhsl(124, 71%, 28%)
HSVhsv(124, 83%, 48%)
CMYKcmyk(82.9%, 0%, 78%, 51.8%)
CIE-LABlab(44.81, -46.79, 41.75)
CIE-LCHlch(44.81, 62.71, 138.25°)
OKLaboklab(50.89% -0.1267 0.0941)
OKLCHoklch(50.89% 0.158 143.4)
XYZxyz(7.5895, 14.4036, 3.4169)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B1B #7B1575
analogous
#427B15 #157B1B #157B4E
triadic
#157B1B #1B157B #7B1B15
tetradic
#157B1B #15427B #7B1575 #7B4E15
square
#157B1B #15427B #7B1575 #7B4E15
split-complementary
#157B1B #4E157B #7B1542
monochromatic
#041A06 #0C4710 #157B1B #1EAF26 #2FDB39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157B1B#FFFFFF#000000##FFFFFF
##157B1B1.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)
#7E6F06
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b1b;
/* rgb */ color: rgb(21, 123, 27);
/* oklch */ color: oklch(50.9% 0.158 143.4);
Tailwind
colors: {
  custom: {
    50: '#68a25f',
    500: '#157b1b',
    950: '#000000',
  },
}
SCSS
$custom: #157b1b;
$custom-light: #68a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#157b1b",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 123.529,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50889,
    "c": 0.15785,
    "h": 143.4
  },
  "luminance": 0.14404
}

Semantic roles & 50–950 ramp

primary
#157B1B
secondary
#B03BA9
accent
#3AE3EE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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