#157822#157822

#157822 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.150 H 144.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#157822
RGBrgb(21, 120, 34)
HSLhsl(128, 70%, 28%)
HSVhsv(128, 83%, 47%)
CMYKcmyk(82.5%, 0%, 71.7%, 52.9%)
CIE-LABlab(43.81, -45.13, 37.91)
CIE-LCHlch(43.81, 58.94, 139.97°)
OKLaboklab(50.08% -0.1219 0.087)
OKLCHoklch(50.08% 0.15 144.5)
XYZxyz(7.3140, 13.7070, 3.7733)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157822 #78156B
analogous
#397815 #157822 #157854
triadic
#157822 #221578 #782215
tetradic
#157822 #153978 #78156B #785415
square
#157822 #153978 #78156B #785415
split-complementary
#157822 #541578 #781539
monochromatic
#051A07 #0C4413 #157822 #1EAC31 #2DDA44

Accessibility & contrast

On white

5.61
#157822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#157822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157822
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157822#FFFFFF#000000##FFFFFF
##1578221.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C16
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #157822;
/* rgb */ color: rgb(21, 120, 34);
/* oklch */ color: oklch(50.1% 0.150 144.5);
Tailwind
colors: {
  custom: {
    50: '#66a062',
    500: '#157822',
    950: '#000000',
  },
}
SCSS
$custom: #157822;
$custom-light: #66a062;
$custom-dark: #000000;
JSON
{
  "hex": "#157822",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 127.879,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50077,
    "c": 0.14977,
    "h": 144.5
  },
  "luminance": 0.13708
}

Semantic roles & 50–950 ramp

primary
#157822
secondary
#AE3B9F
accent
#3BD6ED
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F05
muted
#7A7E7A

Preview Lab

Preview with #157822

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

Preview Lab → · Contrast checker → · Palette generator →

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