#157722#157722

#157722 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.149 H 144.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#157722
RGBrgb(21, 119, 34)
HSLhsl(128, 70%, 27%)
HSVhsv(128, 82%, 47%)
CMYKcmyk(82.4%, 0%, 71.4%, 53.3%)
CIE-LABlab(43.46, -44.79, 37.54)
CIE-LCHlch(43.46, 58.44, 140.03°)
OKLaboklab(49.79% -0.1209 0.0862)
OKLCHoklch(49.79% 0.149 144.5)
XYZxyz(7.1943, 13.4677, 3.7334)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157722 #77156A
analogous
#397715 #157722 #157753
triadic
#157722 #221577 #772215
tetradic
#157722 #153977 #77156A #775315
square
#157722 #153977 #77156A #775315
split-complementary
#157722 #531577 #771539
monochromatic
#051A07 #0C4313 #157722 #1EAB31 #2DDA44

Accessibility & contrast

On white

5.69
#157722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#157722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157722
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157722#FFFFFF#000000##FFFFFF
##1577221.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B16
Deuteranopia (green-blind)
#6F642A
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #157722;
/* rgb */ color: rgb(21, 119, 34);
/* oklch */ color: oklch(49.8% 0.149 144.5);
Tailwind
colors: {
  custom: {
    50: '#669f62',
    500: '#157722',
    950: '#000000',
  },
}
SCSS
$custom: #157722;
$custom-light: #669f62;
$custom-dark: #000000;
JSON
{
  "hex": "#157722",
  "rgb": {
    "r": 21,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 127.959,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49786,
    "c": 0.14855,
    "h": 144.5
  },
  "luminance": 0.13469
}

Semantic roles & 50–950 ramp

primary
#157722
secondary
#AD3B9E
accent
#3BD5ED
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F05
muted
#7A7E7A

Preview Lab

Preview with #157722

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

Preview Lab → · Contrast checker → · Palette generator →

#157722 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva