#157B33#157B33

#157B33 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.1% C 0.140 H 147.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#157B33
RGBrgb(21, 123, 51)
HSLhsl(138, 71%, 28%)
HSVhsv(138, 83%, 48%)
CMYKcmyk(82.9%, 0%, 58.5%, 51.8%)
CIE-LABlab(45.03, -44.04, 31.20)
CIE-LCHlch(45.03, 53.97, 144.69°)
OKLaboklab(51.15% -0.1183 0.0744)
OKLCHoklch(51.15% 0.14 147.8)
XYZxyz(7.9891, 14.5634, 5.5213)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B33 #7B155D
analogous
#2A7B15 #157B33 #157B66
triadic
#157B33 #33157B #7B3315
tetradic
#157B33 #152A7B #7B155D #7B6615
square
#157B33 #152A7B #7B155D #7B6615
split-complementary
#157B33 #66157B #7B152A
monochromatic
#041A0B #0C471D #157B33 #1EAF49 #2FDB62

Accessibility & contrast

On white

5.37
#157B33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#157B33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B33
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B33#FFFFFF#000000##FFFFFF
##157B331.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2C
Deuteranopia (green-blind)
#716739
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157b33;
/* rgb */ color: rgb(21, 123, 51);
/* oklch */ color: oklch(51.1% 0.140 147.8);
Tailwind
colors: {
  custom: {
    50: '#66a26d',
    500: '#157b33',
    950: '#000000',
  },
}
SCSS
$custom: #157b33;
$custom-light: #66a26d;
$custom-dark: #000000;
JSON
{
  "hex": "#157b33",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 51
  },
  "hsl": {
    "h": 137.647,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51147,
    "c": 0.13975,
    "h": 147.8
  },
  "luminance": 0.14564
}

Semantic roles & 50–950 ramp

primary
#157B33
secondary
#B03B8E
accent
#3AB9EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157B33

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

Preview Lab → · Contrast checker → · Palette generator →

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