#157315#157315

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

Color values

HEX#157315
RGBrgb(21, 115, 21)
HSLhsl(120, 69%, 27%)
HSVhsv(120, 82%, 45%)
CMYKcmyk(81.7%, 0%, 81.7%, 54.9%)
CIE-LABlab(41.96, -44.58, 41.11)
CIE-LCHlch(41.96, 60.64, 137.32°)
OKLaboklab(48.51% -0.121 0.0919)
OKLCHoklch(48.51% 0.152 142.8)
XYZxyz(6.5749, 12.4743, 2.7706)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157315 #731573
analogous
#447315 #157315 #157344
triadic
#157315 #151573 #731515
tetradic
#157315 #154473 #731573 #734415
square
#157315 #154473 #731573 #734415
split-complementary
#157315 #441573 #731544
monochromatic
#051A05 #0C3F0C #157315 #1EA71E #2AD82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157315#FFFFFF#000000##FFFFFF
##1573151.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)
#766700
Deuteranopia (green-blind)
#6C6020
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #157315;
/* rgb */ color: rgb(21, 115, 21);
/* oklch */ color: oklch(48.5% 0.152 142.8);
Tailwind
colors: {
  custom: {
    50: '#669c5b',
    500: '#157315',
    950: '#000000',
  },
}
SCSS
$custom: #157315;
$custom-light: #669c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#157315",
  "rgb": {
    "r": 21,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 120,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48509,
    "c": 0.15193,
    "h": 142.8
  },
  "luminance": 0.12475
}

Semantic roles & 50–950 ramp

primary
#157315
secondary
#A93BA9
accent
#3CECEC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #157315

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

Preview Lab → · Contrast checker → · Palette generator →

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