#157816#157816

#157816 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.0% C 0.157 H 142.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#157816
RGBrgb(21, 120, 22)
HSLhsl(121, 70%, 28%)
HSVhsv(121, 83%, 47%)
CMYKcmyk(82.5%, 0%, 81.7%, 52.9%)
CIE-LABlab(43.73, -46.17, 42.46)
CIE-LCHlch(43.73, 62.73, 137.40°)
OKLaboklab(49.98% -0.1253 0.0949)
OKLCHoklch(49.98% 0.157 142.9)
XYZxyz(7.1701, 13.6494, 3.0156)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157816 #781577
analogous
#457815 #157816 #157847
triadic
#157816 #161578 #781615
tetradic
#157816 #154578 #781577 #784715
square
#157816 #154578 #781577 #784715
split-complementary
#157816 #471578 #781545
monochromatic
#051A05 #0C440C #157816 #1EAC20 #2DDA2F

Accessibility & contrast

On white

5.63
#157816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#157816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157816
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157816#FFFFFF#000000##FFFFFF
##1578161.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#706522
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #157816;
/* rgb */ color: rgb(21, 120, 22);
/* oklch */ color: oklch(50.0% 0.157 142.9);
Tailwind
colors: {
  custom: {
    50: '#67a05c',
    500: '#157816',
    950: '#000000',
  },
}
SCSS
$custom: #157816;
$custom-light: #67a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#157816",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 120.606,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4998,
    "c": 0.15715,
    "h": 142.9
  },
  "luminance": 0.1365
}

Semantic roles & 50–950 ramp

primary
#157816
secondary
#AE3BAC
accent
#3BEBED
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #157816

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

Preview Lab → · Contrast checker → · Palette generator →

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