#157815#157815

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

Color values

HEX#157815
RGBrgb(21, 120, 21)
HSLhsl(120, 70%, 28%)
HSVhsv(120, 83%, 47%)
CMYKcmyk(82.5%, 0%, 82.5%, 52.9%)
CIE-LABlab(43.72, -46.24, 42.79)
CIE-LCHlch(43.72, 63.00, 137.22°)
OKLaboklab(49.97% -0.1255 0.0954)
OKLCHoklch(49.97% 0.158 142.8)
XYZxyz(7.1606, 13.6457, 2.9658)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157815 #781578
analogous
#467815 #157815 #157846
triadic
#157815 #151578 #781515
tetradic
#157815 #154678 #781578 #784615
square
#157815 #154678 #781578 #784615
split-complementary
#157815 #461578 #781546
monochromatic
#051A05 #0C440C #157815 #1EAC1E #2DDA2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157815#FFFFFF#000000##FFFFFF
##1578151.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)
#706421
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #157815;
/* rgb */ color: rgb(21, 120, 21);
/* oklch */ color: oklch(50.0% 0.158 142.8);
Tailwind
colors: {
  custom: {
    50: '#67a05b',
    500: '#157815',
    950: '#000000',
  },
}
SCSS
$custom: #157815;
$custom-light: #67a05b;
$custom-dark: #000000;
JSON
{
  "hex": "#157815",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 120,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49974,
    "c": 0.15766,
    "h": 142.8
  },
  "luminance": 0.13647
}

Semantic roles & 50–950 ramp

primary
#157815
secondary
#AE3BAE
accent
#3BEDED
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #157815

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

Preview Lab → · Contrast checker → · Palette generator →

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