#157316#157316

#157316 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.5% C 0.151 H 142.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#157316
RGBrgb(21, 115, 22)
HSLhsl(121, 69%, 27%)
HSVhsv(121, 82%, 45%)
CMYKcmyk(81.7%, 0%, 80.9%, 54.9%)
CIE-LABlab(41.97, -44.50, 40.77)
CIE-LCHlch(41.97, 60.35, 137.51°)
OKLaboklab(48.52% -0.1207 0.0913)
OKLCHoklch(48.52% 0.151 142.9)
XYZxyz(6.5844, 12.4780, 2.8204)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157316 #731572
analogous
#437315 #157316 #157345
triadic
#157316 #161573 #731615
tetradic
#157316 #154373 #731572 #734515
square
#157316 #154373 #731572 #734515
split-complementary
#157316 #451573 #731543
monochromatic
#051A05 #0C3F0C #157316 #1EA720 #2AD82C

Accessibility & contrast

On white

6.01
#157316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#157316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157316
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157316#FFFFFF#000000##FFFFFF
##1573161.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766701
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157316;
/* rgb */ color: rgb(21, 115, 22);
/* oklch */ color: oklch(48.5% 0.151 142.9);
Tailwind
colors: {
  custom: {
    50: '#669c5b',
    500: '#157316',
    950: '#000000',
  },
}
SCSS
$custom: #157316;
$custom-light: #669c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#157316",
  "rgb": {
    "r": 21,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 120.638,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48516,
    "c": 0.1514,
    "h": 142.9
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

primary
#157316
secondary
#A93BA8
accent
#3CEAEC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #157316

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

Preview Lab → · Contrast checker → · Palette generator →

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