#157115#157115

#157115 is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.150 H 142.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#157115
RGBrgb(21, 113, 21)
HSLhsl(120, 69%, 26%)
HSVhsv(120, 81%, 44%)
CMYKcmyk(81.4%, 0%, 81.4%, 55.7%)
CIE-LABlab(41.25, -43.90, 40.42)
CIE-LCHlch(41.25, 59.68, 137.36°)
OKLaboklab(47.92% -0.1192 0.0905)
OKLCHoklch(47.92% 0.15 142.8)
XYZxyz(6.3493, 12.0231, 2.6954)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157115 #711571
analogous
#437115 #157115 #157143
triadic
#157115 #151571 #711515
tetradic
#157115 #154371 #711571 #714315
square
#157115 #154371 #711571 #714315
split-complementary
#157115 #431571 #711543
monochromatic
#051A05 #0B3D0B #157115 #1FA51F #29D729

Accessibility & contrast

On white

6.17
#157115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#157115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157115
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157115#FFFFFF#000000##FFFFFF
##1571151.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#006D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #157115;
/* rgb */ color: rgb(21, 113, 21);
/* oklch */ color: oklch(47.9% 0.150 142.8);
Tailwind
colors: {
  custom: {
    50: '#659b5a',
    500: '#157115',
    950: '#000000',
  },
}
SCSS
$custom: #157115;
$custom-light: #659b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#157115",
  "rgb": {
    "r": 21,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 120,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47921,
    "c": 0.14961,
    "h": 142.8
  },
  "luminance": 0.12024
}

Semantic roles & 50–950 ramp

primary
#157115
secondary
#A73BA7
accent
#3CEBEB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #157115

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

Preview Lab → · Contrast checker → · Palette generator →

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