#157015#157015

#157015 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.6% C 0.148 H 142.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#157015
RGBrgb(21, 112, 21)
HSLhsl(120, 68%, 26%)
HSVhsv(120, 81%, 44%)
CMYKcmyk(81.2%, 0%, 81.2%, 56.1%)
CIE-LABlab(40.90, -43.56, 40.08)
CIE-LCHlch(40.90, 59.20, 137.38°)
OKLaboklab(47.63% -0.1182 0.0898)
OKLCHoklch(47.63% 0.148 142.8)
XYZxyz(6.2384, 11.8012, 2.6584)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157015 #701570
analogous
#427015 #157015 #157042
triadic
#157015 #151570 #701515
tetradic
#157015 #154270 #701570 #704215
square
#157015 #154270 #701570 #704215
split-complementary
#157015 #421570 #701542
monochromatic
#051A05 #0B3C0B #157015 #1FA41F #29D729

Accessibility & contrast

On white

6.25
#157015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#157015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157015
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157015#FFFFFF#000000##FFFFFF
##1570151.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #157015;
/* rgb */ color: rgb(21, 112, 21);
/* oklch */ color: oklch(47.6% 0.148 142.8);
Tailwind
colors: {
  custom: {
    50: '#659a5a',
    500: '#157015',
    950: '#000000',
  },
}
SCSS
$custom: #157015;
$custom-light: #659a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#157015",
  "rgb": {
    "r": 21,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 120,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47626,
    "c": 0.14845,
    "h": 142.8
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#157015
secondary
#A63BA6
accent
#3DEBEB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #157015

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

Preview Lab → · Contrast checker → · Palette generator →

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